From bda67b262a1dc870f62d87253649268a9300044c Mon Sep 17 00:00:00 2001 From: Chris Blanton Date: Mon, 25 Nov 2024 20:17:54 -0500 Subject: [PATCH] Improve error message clarity (sort of) --- fre/yamltools/combine_yamls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fre/yamltools/combine_yamls.py b/fre/yamltools/combine_yamls.py index 4584c115..94531258 100755 --- a/fre/yamltools/combine_yamls.py +++ b/fre/yamltools/combine_yamls.py @@ -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!")