xnmt icon indicating copy to clipboard operation
xnmt copied to clipboard

Confusing error message when YAML file doesn't exist

Open armatthews opened this issue 5 years ago • 0 comments

When we call run_experiments and pass it a non-existent path for the YAML file it fails with the following error message:

TypeError: Top level of config file must be a single Experiment or a list or dict of experiments.Found: None of type <class 'NoneType'>.

We really should catch this and give a more informative message.

armatthews avatar Jun 04 '19 20:06 armatthews