🎨 Rename modstool.py to mods4pandas.py

master
Gerber, Mike 2 years ago
parent c48084de93
commit 1d2c5e2d10

@ -164,7 +164,7 @@ class TagGroup:
return self
def merge_sub_tags_to_set(self):
from .modstool import mods_to_dict
from .mods4pandas import mods_to_dict
value = {}
sub_dicts = [mods_to_dict(e) for e in self.group]
@ -254,7 +254,7 @@ def sorted_groupby(iterable, key=None):
def _to_dict(root, raise_errors):
from .modstool import mods_to_dict, mets_to_dict
from .mods4pandas import mods_to_dict, mets_to_dict
from .alto4pandas import alto_to_dict
root_name = ET.QName(root.tag)

@ -1,7 +1,7 @@
from lxml import etree as ET
from qurator.modstool.modstool import mets_to_dict
from qurator.modstool.mods4pandas import mets_to_dict
from qurator.modstool.lib import flatten

@ -3,7 +3,7 @@ from lxml import etree as ET
import pytest
from qurator.modstool.modstool import mods_to_dict
from qurator.modstool.mods4pandas import mods_to_dict
from qurator.modstool.lib import flatten

@ -20,7 +20,7 @@ setup(
install_requires=install_requires,
entry_points={
'console_scripts': [
'mods4pandas=qurator.modstool.modstool:main',
'mods4pandas=qurator.modstool.mods4pandas:main',
'alto4pandas=qurator.modstool.alto4pandas:main',
]
},

Loading…
Cancel
Save