-
Notifications
You must be signed in to change notification settings - Fork 536
FIX: ANTs' utilities revision - bug fixes and add more operations to ants.ImageMath
#3236
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
These added operations are necessary for the antsBrainExtraction workflow we have in niworkflows (and hence niflows too).
|
For the |
this commit requires nipy/nipype#3236 to be merged.
Codecov Report
@@ Coverage Diff @@
## master #3236 +/- ##
==========================================
- Coverage 65.00% 64.96% -0.05%
==========================================
Files 302 302
Lines 39929 39929
Branches 5279 5279
==========================================
- Hits 25956 25939 -17
- Misses 12913 12925 +12
- Partials 1060 1065 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
ants.ImageMathants.ImageMath
6d59c93 to
db819a9
Compare
- Disable ``copy_header`` for the ``PadImage`` operation in ``ImageMath`` - Drop the CopyHeader mixin and update auto test of ResampleImageBySpacing
db819a9 to
e59aaa6
Compare
this commit requires nipy/nipype#3236 to be merged.
|
Looks reasonable. |
effigies
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.
Some alternative suggestions. I prefer RST plain text to Python comments. Added some context about what copy_header does.
1d95223 to
0fffcf7
Compare
0fffcf7 to
461bc5e
Compare
this commit requires nipy/nipype#3236 to be merged.
this commit requires nipy/nipype#3236 to be merged.
These revisions are necessary for the antsBrainExtraction workflow we have in niworkflows (and hence niflows too):
ImageMathoperations, overwriting the behavior ofcopy_headerif the operation isPadImage(see comment below).copy_headerofResampleImageBySpacingas the original affine is not valid anymore in the output