From 3a008d1c1dd842c7cc388a16e28221c7be8f7cd8 Mon Sep 17 00:00:00 2001 From: lindsay stevens Date: Tue, 26 Sep 2023 12:48:21 +1000 Subject: [PATCH] fix: return type change for dealias_and_group_headers for entities sheet - needed after rebase on latest master --- pyxform/xls2json.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyxform/xls2json.py b/pyxform/xls2json.py index f720a264..2fca218b 100644 --- a/pyxform/xls2json.py +++ b/pyxform/xls2json.py @@ -626,9 +626,13 @@ def workbook_to_json( # ########## Entities sheet ########### entities_sheet = workbook_dict.get(constants.ENTITIES, []) entities_sheet = dealias_and_group_headers( - entities_sheet, aliases.entities_header, False + dict_array=entities_sheet, + header_aliases=aliases.entities_header, + use_double_colons=False, + ) + entity_declaration = get_entity_declaration( + entities_sheet=entities_sheet.data, workbook_dict=workbook_dict, warnings=warnings ) - entity_declaration = get_entity_declaration(entities_sheet, workbook_dict, warnings) # ########## Survey sheet ########### survey_sheet = workbook_dict[constants.SURVEY]