From f243dd204a77a0c76057f44724488dada863adeb Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Mon, 27 Nov 2023 16:36:45 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=92=20Add=20comments=20for=20populating?= =?UTF-8?q?=20type=20indicator=20variables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/mods4pandas/mods4pandas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qurator/mods4pandas/mods4pandas.py b/qurator/mods4pandas/mods4pandas.py index ffc3697..9993fa9 100755 --- a/qurator/mods4pandas/mods4pandas.py +++ b/qurator/mods4pandas/mods4pandas.py @@ -328,6 +328,7 @@ def pages_to_dict(mets, raise_errors=True) -> List[Dict]: struct_divs_to_add.update(get_struct_log_parents(struct_div)) struct_divs.update(struct_divs_to_add) + # Populate structure type indicator variables for struct_div in struct_divs: type_ = struct_div.attrib.get("TYPE") assert type_