Skip to content

Commit

Permalink
refactor: rename fmtm forms --> common forms
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 19, 2024
1 parent f0f6c98 commit 7768baf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions osm_fieldwork/update_xlsform.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ async def append_mandatory_fields(
BytesIO: the update XLSForm, wrapped in BytesIO.
"""
custom_sheets = pd.read_excel(custom_form, sheet_name=None, engine="calamine")
mandatory_sheets = pd.read_excel(f"{xlsforms_path}/fmtm/mandatory_fields.xls", sheet_name=None, engine="calamine")
digitisation_sheets = pd.read_excel(f"{xlsforms_path}/fmtm/digitisation_fields.xls", sheet_name=None, engine="calamine")
mandatory_sheets = pd.read_excel(f"{xlsforms_path}/common/mandatory_fields.xls", sheet_name=None, engine="calamine")
digitisation_sheets = pd.read_excel(f"{xlsforms_path}/common/digitisation_fields.xls", sheet_name=None, engine="calamine")

# Merge 'survey' and 'choices' sheets
if "survey" in custom_sheets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# FMTM Forms
# Common Form Snippets

These forms are not valid XLSForms by themselves.

Instead they contain fields to be used to concatenate and create forms
that are used for a standardised FMTM mapping workflow.
that are used for a standardised mapping workflow.

- `mandatory_fields.xls` contains mandatory fields for FMTM such as
the feature and task id selections.
Expand Down

0 comments on commit 7768baf

Please sign in to comment.