@ -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]
@ -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
@ -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):
@ -1,8 +1,10 @@
from tkinter import W
import pytest
from .. import mods_to_dict, flatten
from qurator.modstool.modstool import mods_to_dict