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

Provide better feedback when output_dir not found #268

Closed
toliwaga opened this issue Aug 29, 2019 · 1 comment
Closed

Provide better feedback when output_dir not found #268

toliwaga opened this issue Aug 29, 2019 · 1 comment

Comments

@toliwaga
Copy link
Contributor

If output_dir is not found, output_dir method in core/config.py

raise RuntimeError("output_dir: directory does not exist")
resulting in the message:
RuntimeError: output_dir: directory does not exist

This is misleading because 'output_dir' is the name of the method raising the error, not the expected name of the directory it isn't finding. Instead, or in addition, should print path that wasn't found. e.g. something like:
RuntimeError: output_dir: directory does not exist: F:\some_path\output

@bstabler
Copy link
Contributor

#397

@dhensle dhensle closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants