From 11d7b012ec3cc2762b1baea77aee0efc949b99a4 Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Wed, 27 Nov 2024 19:03:35 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Leave=20tqdm=20progress=20bar=20?= =?UTF-8?q?to=20avoid=20confusion=20through=20other=20left-over=20progress?= =?UTF-8?q?=20bars?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods4pandas/mods4pandas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mods4pandas/mods4pandas.py b/src/mods4pandas/mods4pandas.py index 215acd0..c3cde97 100755 --- a/src/mods4pandas/mods4pandas.py +++ b/src/mods4pandas/mods4pandas.py @@ -417,7 +417,7 @@ def process(mets_files: List[str], output_file: str, output_page_info: str): mods_info = [] page_info = [] logger.info('Processing METS files') - for mets_file in tqdm(mets_files_real, leave=False): + for mets_file in tqdm(mets_files_real, leave=True): try: root = ET.parse(mets_file).getroot() mets = root # XXX .find('mets:mets', ns) does not work here