Skip to content

Commit

Permalink
Improve error message clarity (sort of)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Blanton authored and Chris Blanton committed Nov 26, 2024
1 parent 558429f commit bda67b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fre/yamltools/combine_yamls.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def experiment_check(mainyaml_dir,comb,experiment):
ey=Path(os.path.join(mainyaml_dir,e))
ey_path.append(ey)
else:
raise ValueError("Incorrect experiment yaml path given; does not exist.")
raise ValueError(f"Incorrect experiment yaml path given ({e}); does not exist.")
else:
raise ValueError("No experiment yaml path given!")

Expand Down

0 comments on commit bda67b2

Please sign in to comment.