1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-06-08 19:29:57 +02:00

🐛 Fix imports

This commit is contained in:
Gerber, Mike 2022-05-05 11:10:59 +02:00
parent e86369e76d
commit 6e2e0bd67a
4 changed files with 7 additions and 3 deletions

View file

@ -162,6 +162,7 @@ class TagGroup:
return self
def merge_sub_tags_to_set(self):
from .modstool import mods_to_dict
value = {}
sub_dicts = [mods_to_dict(e) for e in self.group]

View file

@ -14,7 +14,7 @@ import click
import pandas as pd
from tqdm import tqdm
from .lib import sorted_groupby, TagGroup, ns
from .lib import sorted_groupby, TagGroup, ns, flatten

View file

@ -1,7 +1,8 @@
import xml.etree.ElementTree as ET
from .. import mets_to_dict, flatten
from qurator.modstool.modstool import mets_to_dict
from qurator.modstool.lib import flatten
def dict_fromstring(x):

View file

@ -1,8 +1,10 @@
from tkinter import W
import pytest
import xml.etree.ElementTree as ET
from .. import mods_to_dict, flatten
from qurator.modstool.modstool import mods_to_dict
from qurator.modstool.lib import flatten
def dict_fromstring(x):