Skip to content

Commit

Permalink
Improve error reporting for forms workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Oct 22, 2024
1 parent 5ad2861 commit 98a9c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scribe_data/check/check_query_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def return_correct_form_label(qids: list):
if not set(qids) <= set(lexeme_form_qid_order):
not_included_qids = sorted(set(qids) - set(lexeme_form_qid_order))
qid_label = "QIDs" if len(not_included_qids) > 1 else "QID"
return f"{qid_label} {', '.join(not_included_qids)} not included in metadata"
return f"{qid_label} {', '.join(not_included_qids)} not included in lexeme_form.metadata.json"

qids_ordered = [q for q in lexeme_form_qid_order if q in qids]
correct_label = ""
Expand Down

0 comments on commit 98a9c5d

Please sign in to comment.