-
Notifications
You must be signed in to change notification settings - Fork 5
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
Make path consistent #143
Make path consistent #143
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.
I searched for usage of expanduser
and resolve
and it is now only used in ewatercycle/util.py:to_absolute_path
, in ewatercycle/config/_config_object.py:load_from_file
and in ewatercycle/observation/grdc.py:get_grdc_data
. Can Config.load_from_file and the grdc be changed to also use to_absolute_path()
?
I searched for Path constructor and mostly shows up in util.py.
This PR has a lot of smart replacements. Nice work.
See inline questions and suggestions.
Co-authored-by: Stefan Verhoeven <[email protected]>
Co-authored-by: Stefan Verhoeven <[email protected]>
Co-authored-by: Stefan Verhoeven <[email protected]>
Co-authored-by: Peter Kalverla <[email protected]>
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.
Look goods, thanks for the additional tests.
Kudos, SonarCloud Quality Gate passed! |
Thanks for reviewing, nice comments, and pair-programming. |
closes #93
after merging this, close PR #107