Skip to content

fix tbss_non_FA to match FSL's tbss_non_FA command #1033

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 8 commits into from
Feb 10, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Next release
============

* FIX: Amend create_tbss_non_fa() workflow to match FSL's tbss_non_fa command. (https://github.com/nipy/nipype/pull/1033)
* FIX: remove unused mandatory flag from spm normalize (https://github.com/nipy/nipype/pull/1048)
* ENH: Update ANTSCorticalThickness interface (https://github.com/nipy/nipype/pull/1013)
* FIX: Edge case with sparsemodels and PEP8 cleanup (https://github.com/nipy/nipype/pull/1046)
Expand Down
8 changes: 6 additions & 2 deletions nipype/workflows/dmri/fsl/tbss.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ def create_tbss_non_FA(name='tbss_non_FA'):
>>> tbss_MD.inputs.inputnode.groupmask = './xxx'
>>> tbss_MD.inputs.inputnode.meanfa_file = './xxx'
>>> tbss_MD.inputs.inputnode.distance_map = []
>>> tbss_MD.inputs.inputnode.all_FA_file = './xxx'

Inputs::

Expand All @@ -513,6 +514,7 @@ def create_tbss_non_FA(name='tbss_non_FA'):
inputnode.groupmask
inputnode.meanfa_file
inputnode.distance_map
inputnode.all_FA_file

Outputs::

Expand All @@ -526,7 +528,8 @@ def create_tbss_non_FA(name='tbss_non_FA'):
'skeleton_thresh',
'groupmask',
'meanfa_file',
'distance_map']),
'distance_map',
'all_FA_file']),
name='inputnode')

# Apply the warpfield to the non FA image
Expand Down Expand Up @@ -560,10 +563,11 @@ def create_tbss_non_FA(name='tbss_non_FA'):

(inputnode, maskgroup, [('groupmask', 'in_file2')]),

(maskgroup, projectfa, [('out_file', 'data_file')]),
(maskgroup, projectfa, [('out_file', 'alt_data_file')]),
(inputnode, projectfa, [('skeleton_thresh', 'threshold'),
("meanfa_file", "in_file"),
("distance_map", "distance_map"),
("all_FA_file", 'data_file')
]),
])

Expand Down