Skip to content

Commit aabfefd

Browse files
committed
Show progress bar
1 parent 092e6d9 commit aabfefd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ace/scrape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def retrieve_articles(self, journal=None, pmids=None, dois=None, delay=None, mod
665665
else:
666666
all_iter = [(pmcid, pmid, journal) for pmcid, pmid in all_ids]
667667

668-
for pmcid, pmid, journal in all_iter:
668+
for pmcid, pmid, journal in tqdm(all_iter, desc="Retrieving articles", total=len(all_iter)):
669669

670670
if limit is not None and articles_found >= limit: break
671671

0 commit comments

Comments
 (0)