Skip to content

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

Merged
merged 6 commits into from
Feb 8, 2017
Merged

fix: FSL FNIRT intensity mapping files #1799

merged 6 commits into from
Feb 8, 2017

Conversation

cgc
Copy link
Contributor

@cgc cgc commented Feb 4, 2017

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

fnirt ... --intout=/tmp/pipeline/fnirt_level1/oriented_structural_intmap ...
fnirt ... --intin=/tmp/pipeline/fnirt_level1/oriented_structural_intmap ...

and files on disk are appropriately named (in this case, oriented_structural_intmap.nii.gz and oriented_structural_intmap.txt). And outputs for my test cases match my expected outputs now, so this solves my issue. Thanks, @satra!

closes #1797

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',
Copy link
Member

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-io
Copy link

codecov-io commented Feb 7, 2017

Codecov Report

Merging #1799 into master will increase coverage by <.01%.

@@            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
Flag Coverage Δ
#unittests 69.83% <93.54%> (ø)
Impacted Files Coverage Δ
nipype/interfaces/fsl/tests/test_preprocess.py 100% <100%> (ø)
nipype/interfaces/fsl/preprocess.py 73.12% <88.23%> (+0.54%)
nipype/pipeline/plugins/tests/test_multiproc.py 75.47% <ø> (-3.15%)
nipype/interfaces/freesurfer/preprocess.py 64.38% <ø> (ø)
nipype/interfaces/io.py 57.55% <ø> (ø)
nipype/interfaces/nipy/preprocess.py 47.56% <ø> (ø)
nipype/interfaces/dynamic_slicer.py 17.47% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d4d5e4...7a8eb07. Read the comment docs.

@cgc
Copy link
Contributor Author

cgc commented Feb 8, 2017

@satra I've managed to get tests working, have test coverage for my new code, and have ensured that this fixes my problem.

@satra satra merged commit a7e756a into nipy:master Feb 8, 2017
@cgc cgc deleted the intmap_ext branch February 8, 2017 22:59
@cgc
Copy link
Contributor Author

cgc commented Feb 8, 2017

@satra thanks for the merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FSL FNIRT intensity mapping files
3 participants