-
Notifications
You must be signed in to change notification settings - Fork 6
Made all I/O functions/methods to accept either a string or a pathlib.Path object for any path argument (issue 896) #978
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
Conversation
gdementen
left a comment
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.
except from the (AFAICT) broken "None" case above, this LGTM
larray/inout/common.py
Outdated
| """ | ||
| def __init__(self, fname, overwrite_file=False): | ||
| self.fname = fname | ||
| self.fname = Path(fname) |
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.
only convert to Path if not isinstance(fname, Path)?
|
Could you review the last commit before I rebase on upstream/master ? |
gdementen
left a comment
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 don't think asking for review again for something already reviewed once is worth our time (except for very tricky/large PR). Yes, I nearly always find something to improve but it's really details and I don't think it's worth our time
…l i/o functions/methods/classes
45ad517 to
2bc1f49
Compare
No description provided.