From 391f161b2a8c135d7feb1342f588c28ce0b5ce26 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]