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]