Skip to content

Commit

Permalink
fix: return type change for dealias_and_group_headers for entities sheet
Browse files Browse the repository at this point in the history
- needed after rebase on latest master
  • Loading branch information
lindsay-stevens committed Nov 20, 2023
1 parent 26026a6 commit 05ad654
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyxform/xls2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 05ad654

Please sign in to comment.