Skip to content

Commit

Permalink
Relocation error massage statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubelMozumder committed Nov 1, 2023
1 parent 2060a5d commit c12fdb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynxtools/dataconverter/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ def ensure_all_required_fields_exist(template, data, nxdl_root):
def raise_required_concept_missing_error(missing_groups_and_fields):
error = ''
for concept, path_list in missing_groups_and_fields.items():
error = error + f"Required {concept} are not provided: \n"
if path_list:
error = error + f"Required {concept} are not provided: \n"
for path in path_list:
error = error + f" \n\u2022{path}\n"
if error:
Expand Down

0 comments on commit c12fdb0

Please sign in to comment.