-
Notifications
You must be signed in to change notification settings - Fork 1.2k
2562 Add support to not save data in a separate folder #2576
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
/black |
I would suggest the default value should be |
Hi @ericspod , Thanks for your review and comments! Thanks. |
Signed-off-by: Nic Ma <[email protected]>
/black |
Hi @ericspod , Thanks for your review. Thanks in advance. |
else: | ||
output = os.path.join(subfolder_path, filename) | ||
if separate_folder: | ||
output = os.path.join(output, filename) |
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.
not sure if this filename
should also have the postfix
?
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.
That will be used in the next lines for the subfolders that go in the folder referred to as output
here.
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.
Fixes #2562 .
Description
According to user's feedback, this PR enhanced the
nifti_saver
andpng_saver
to optionally save every image in a separate folder or not.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests
.make html
command in thedocs/
folder.