We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since we are using pathlib.Path everywhere, we should use the bound pathlib.Path.open method to open files rather than the base pytohn open method.
The base python open method throws an error on pathlib.Path objects
TypeError: expected str, bytes or os.PathLike object, not PosixPath
The text was updated successfully, but these errors were encountered:
dartclasses.py uses strings for filepaths, this should be changed to pathlib.Path objects.
dartclasses.py
e.g. https://github.com/NCAR/wrf_hydro_py/blob/master/wrfhydropy/core/dartclasses.py#L92
Sorry, something went wrong.
tjmills
jmccreight
No branches or pull requests
Since we are using pathlib.Path everywhere, we should use the bound pathlib.Path.open method to open files rather than the base pytohn open method.
The base python open method throws an error on pathlib.Path objects
TypeError: expected str, bytes or os.PathLike object, not PosixPath
The text was updated successfully, but these errors were encountered: