-
Notifications
You must be signed in to change notification settings - Fork 71
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
Error handling: when saving a datastack with relative paths fails #1630
Error handling: when saving a datastack with relative paths fails #1630
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emilyanndavis This is working exactly as described for me on Windows!
It's great to have this new error-handling in place. I had a few minor comments about try/except/else
, but in general everything looks very thorough good.
…s-drive-relpath-error-handling
…s-drive-relpath-error-handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, thanks @emilyanndavis! I did a quick lookover and Dave thought it was good to go as well.
I think we're good, Dave gave the thumbs up but can't access this PR right now.
Description
Fixes #1608 by logging and rendering an error message on failure to save a datastack with relative paths (e.g., when os.path.relpath raises a ValueError on Windows).
Checklist
- [ ] Updated the user's guide (if needed)datastack.build_parameter_set
to raise a ValueError)