diff --git a/qurator/mods4pandas/alto4pandas.py b/qurator/mods4pandas/alto4pandas.py index c6db8fb..1508150 100755 --- a/qurator/mods4pandas/alto4pandas.py +++ b/qurator/mods4pandas/alto4pandas.py @@ -103,7 +103,7 @@ def alto_to_dict(alto, raise_errors=True): def walk(m): - # XXX do this in modstool, too + # XXX do this in mods4pandas, too if os.path.isdir(m): tqdm.write(f'Scanning directory {m}') for f in tqdm(os.scandir(m), leave=False): diff --git a/qurator/mods4pandas/mods4pandas.py b/qurator/mods4pandas/mods4pandas.py index a6fe164..299fa5c 100755 --- a/qurator/mods4pandas/mods4pandas.py +++ b/qurator/mods4pandas/mods4pandas.py @@ -18,7 +18,7 @@ from .lib import sorted_groupby, TagGroup, ns, flatten -logger = logging.getLogger('modstool') +logger = logging.getLogger('mods4pandas') def mods_to_dict(mods, raise_errors=True): """Convert MODS metadata to a nested dictionary""" @@ -255,7 +255,7 @@ def process(mets_files: List[str], output_file: str, output_csv: str, output_xls INPUT is assumed to be a METS document with MODS metadata. INPUT may optionally be a directory. The tool then reads all files in the directory. - modstool writes two output files: A pickled pandas DataFrame and a CSV file with all conversion warnings. + mods4pandas writes two output files: A pickled pandas DataFrame and a CSV file with all conversion warnings. """ # Extend file list if directories are given