Skip to content

Commit

Permalink
updated error description
Browse files Browse the repository at this point in the history
  • Loading branch information
astewartau committed Dec 19, 2021
1 parent acdb917 commit d1a381f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_1_dicomConvert.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def convert_to_nifti(input_dir, output_dir, t2starw_series_patterns, t1w_series_
if json_datas[i]["Modality"] == "MR"
])))
if not all_series_names:
print(f"No valid series found in JSON headers in '{output_dir}/.../extra_data' folders!")
print(f"Error: No valid series found in JSON headers in '{output_dir}/.../extra_data' folders!")
exit(1)
print(f"All series names identified: {all_series_names}")

Expand Down

0 comments on commit d1a381f

Please sign in to comment.