mirror of
				https://github.com/qurator-spk/modstool.git
				synced 2025-11-04 03:14:14 +01:00 
			
		
		
		
	🐛 Fix imports
This commit is contained in:
		
							parent
							
								
									e86369e76d
								
							
						
					
					
						commit
						6e2e0bd67a
					
				
					 4 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
					@ -162,6 +162,7 @@ class TagGroup:
 | 
				
			||||||
        return self
 | 
					        return self
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def merge_sub_tags_to_set(self):
 | 
					    def merge_sub_tags_to_set(self):
 | 
				
			||||||
 | 
					        from .modstool import mods_to_dict
 | 
				
			||||||
        value = {}
 | 
					        value = {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        sub_dicts = [mods_to_dict(e) for e in self.group]
 | 
					        sub_dicts = [mods_to_dict(e) for e in self.group]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,7 +14,7 @@ import click
 | 
				
			||||||
import pandas as pd
 | 
					import pandas as pd
 | 
				
			||||||
from tqdm import tqdm
 | 
					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
 | 
					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):
 | 
					def dict_fromstring(x):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,8 +1,10 @@
 | 
				
			||||||
 | 
					from tkinter import W
 | 
				
			||||||
import pytest
 | 
					import pytest
 | 
				
			||||||
import xml.etree.ElementTree as ET
 | 
					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):
 | 
					def dict_fromstring(x):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue