-
Notifications
You must be signed in to change notification settings - Fork 532
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
[FIX] return non-enhanced volumes from dwi_flirt #2547
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2547 +/- ##
==========================================
+ Coverage 67.04% 67.04% +<.01%
==========================================
Files 332 332
Lines 42511 42512 +1
Branches 5262 5262
==========================================
+ Hits 28500 28501 +1
Misses 13315 13315
Partials 696 696
Continue to review full report at Codecov.
|
Hi @jdkent Thank you for the fix. I tried to revise utils.py as suggested here. However, I got some errors after running
The output log is too long, so I selected some output that might be helpful as follows
I am wondering if I missed anything in the fix. Chuyang |
I'm not entirely sure what is causing the error, but a google search turned up this. Thanks for posting the output, given with what we have, I think the next pertinent question is what version of FSL you are using? If it's 5.0.8 like the user in the fsl listserv is using that may be the culprit. |
nipype/workflows/dmri/fsl/utils.py
Outdated
apply_xfms = pe.MapNode( | ||
fsl.ApplyXFM( | ||
apply_xfm=True, | ||
interp='spline', |
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.
At a first sight, using spline interpolation here seems like a good idea but will introduce negative values. Thresholding after this step would be advisable
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.
Good catch, I didn't know that about spline. I'll add thresholding back in.
@oesteban It would be good to feature freeze 1.0.3 today so we can run final tests on Friday. Your call whether this goes in. |
Merged! |
Fixes #1787
Changes proposed in this pull request
exposure.equalize_adapthist
appears to be the culprit.example dwi data for testing
related code that can be used for testing (with modification)