From e9fca0f563868e0573b279f01ab3aea7866739b3 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 12 Dec 2023 13:33:05 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20mods4pandas:=20Handle=20MultiVol?= =?UTF-8?q?umeWork=20(differently=20spelled=20type=20cp.=20to=20before)=20?= =?UTF-8?q?without=20structMap=20TYPE=3D'PHYSICAL'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/mods4pandas/mods4pandas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qurator/mods4pandas/mods4pandas.py b/qurator/mods4pandas/mods4pandas.py index 75f2caf..6a8c1c6 100755 --- a/qurator/mods4pandas/mods4pandas.py +++ b/qurator/mods4pandas/mods4pandas.py @@ -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: