Skip to content

Commit 6dfddd3

Browse files
committed
updated error catch in experiment setup
1 parent 9db7ae3 commit 6dfddd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

experiments/utils/exp_setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ def setup_experiment():
124124
except Exception:
125125
raise ValueError(f'Experiment: {experiment_name} not in custom.experiments.py.')
126126

127+
else:
128+
raise ValueError(f'Experiment Origin "{EXP_ORIGIN}" not valid. Pick CUSTOM or BASE.')
129+
127130
return experiment
128131

129132

0 commit comments

Comments
 (0)