🐛 Add multivolume type 'multivolume_manuscript'

fix/use-temp-sqlite3
Mike Gerber 4 weeks ago
parent 8ee4c3d0bc
commit abb20b8ba9

@ -277,7 +277,7 @@ def pages_to_dict(mets, raise_errors=True) -> List[Dict]:
# This is expected in a multivolume work or periodical! # This is expected in a multivolume work or periodical!
if any( if any(
structMap_LOGICAL.find(f'./mets:div[@TYPE="{t}"]', ns) is not None structMap_LOGICAL.find(f'./mets:div[@TYPE="{t}"]', ns) is not None
for t in ["multivolume_work", "MultivolumeWork", "periodical"] for t in ["multivolume_work", "MultivolumeWork", "multivolume_manuscript", "periodical"]
): ):
return [] return []
else: else:

Loading…
Cancel
Save