Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing error message when YAML file doesn't exist #573

Open
armatthews opened this issue Jun 4, 2019 · 0 comments
Open

Confusing error message when YAML file doesn't exist #573

armatthews opened this issue Jun 4, 2019 · 0 comments

Comments

@armatthews
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant