-
Notifications
You must be signed in to change notification settings - Fork 532
fix: FSL FNIRT intensity mapping files #1799
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
nipype/interfaces/fsl/preprocess.py
Outdated
desc=('name of file/files containing initial ' | ||
'intensity maping usually generated by ' | ||
'previous fnirt run')) | ||
in_intensitymap_file = traits.List(File, exists=True, argstr='--intin=%s', |
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.
List(File(exists=True), ...)
Codecov Report@@ Coverage Diff @@
## master #1799 +/- ##
==========================================
+ Coverage 69.82% 69.83% +<.01%
==========================================
Files 1047 1047
Lines 52050 52074 +24
Branches 7651 7658 +7
==========================================
+ Hits 36345 36364 +19
+ Misses 14127 14124 -3
- Partials 1578 1586 +8
Continue to review full report at Codecov.
|
@satra I've managed to get tests working, have test coverage for my new code, and have ensured that this fixes my problem. |
@satra thanks for the merge! |
I've implemented the fix discussed in #1797, which changes intensity mapping files to be a list of outputs and inputs. Testing generated commands and outputs looks correct. commands look like
and files on disk are appropriately named (in this case,
oriented_structural_intmap.nii.gz
andoriented_structural_intmap.txt
). And outputs for my test cases match my expected outputs now, so this solves my issue. Thanks, @satra!closes #1797