-
Notifications
You must be signed in to change notification settings - Fork 56
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
RTSTRUCT save as #5
Comments
motivation behind it is to ensure we have a valid file name / file is writable / can overwrite existing files. I'm not sure if we can do this with those methods (initially the path will probably be empty so .exists() would be false. Issue arises since .exists() also just returns false with invalid file names) As for closing, python should handle closing it eventually but I added a close to be sure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Two small things here:
Path.exsists() && Path.is_file()
rt-utils/rt_utils/rtstruct.py
Lines 54 to 61 in 26447ff
The text was updated successfully, but these errors were encountered: