mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-06-08 03:10:15 +02:00
🐛 Add multivolume type 'multivolume_manuscript'
This commit is contained in:
parent
8ee4c3d0bc
commit
abb20b8ba9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue