From b8980bbf25b73bef0f8080cb0724acf4ece161c5 Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Thu, 23 Nov 2023 16:07:28 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20page=5Finfo:=20Name=20structMap?= =?UTF-8?q?=20type=20columns=20a=20bit=20more=20consistently?= 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 1b30c1e..3ac4470 100755 --- a/qurator/mods4pandas/mods4pandas.py +++ b/qurator/mods4pandas/mods4pandas.py @@ -329,7 +329,7 @@ def pages_to_dict(mets, raise_errors=True) -> List[Dict]: for struct_div in struct_divs: type_ = struct_div.attrib.get("TYPE") assert type_ - page_dict[f"structmap_LOGICAL_TYPE_{type_}"] = 1 + page_dict[f"structMap-LOGICAL_TYPE_{type_}"] = 1 from pprint import pprint; pprint(page_dict); print() result.append(page_dict)