mirror of
				https://github.com/qurator-spk/modstool.git
				synced 2025-11-04 03:14:14 +01:00 
			
		
		
		
	🐛 mods4pandas: Handle MultiVolumeWork (differently spelled type cp. to before) without structMap TYPE='PHYSICAL'
This commit is contained in:
		
							parent
							
								
									b8a2872582
								
							
						
					
					
						commit
						e9fca0f563
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -273,7 +273,7 @@ def pages_to_dict(mets, raise_errors=True) -> List[Dict]:
 | 
			
		|||
        # This is expected in a multivolume work or periodical!
 | 
			
		||||
        if any(
 | 
			
		||||
                structMap_LOGICAL.find(f'./mets:div[@TYPE="{t}"]', ns) is not None
 | 
			
		||||
                for t in ["multivolume_work", "periodical"]
 | 
			
		||||
                for t in ["multivolume_work", "MultivolumeWork", "periodical"]
 | 
			
		||||
        ):
 | 
			
		||||
            return []
 | 
			
		||||
        else:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue