diff --git a/pynxtools/dataconverter/helpers.py b/pynxtools/dataconverter/helpers.py index 525dabf69..fe089048e 100644 --- a/pynxtools/dataconverter/helpers.py +++ b/pynxtools/dataconverter/helpers.py @@ -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: