Skip to content

Commit bfdbacb

Browse files
committed
Merge pull request #1033 from psharp1289/patch-1
fix tbss_non_FA to match FSL's tbss_non_FA command
2 parents 510ed60 + a00df37 commit bfdbacb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Next release
22
============
33

4+
* FIX: Amend create_tbss_non_fa() workflow to match FSL's tbss_non_fa command. (https://github.com/nipy/nipype/pull/1033)
45
* FIX: remove unused mandatory flag from spm normalize (https://github.com/nipy/nipype/pull/1048)
56
* ENH: Update ANTSCorticalThickness interface (https://github.com/nipy/nipype/pull/1013)
67
* FIX: Edge case with sparsemodels and PEP8 cleanup (https://github.com/nipy/nipype/pull/1046)

nipype/workflows/dmri/fsl/tbss.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ def create_tbss_non_FA(name='tbss_non_FA'):
504504
>>> tbss_MD.inputs.inputnode.groupmask = './xxx'
505505
>>> tbss_MD.inputs.inputnode.meanfa_file = './xxx'
506506
>>> tbss_MD.inputs.inputnode.distance_map = []
507+
>>> tbss_MD.inputs.inputnode.all_FA_file = './xxx'
507508
508509
Inputs::
509510
@@ -513,6 +514,7 @@ def create_tbss_non_FA(name='tbss_non_FA'):
513514
inputnode.groupmask
514515
inputnode.meanfa_file
515516
inputnode.distance_map
517+
inputnode.all_FA_file
516518
517519
Outputs::
518520
@@ -526,7 +528,8 @@ def create_tbss_non_FA(name='tbss_non_FA'):
526528
'skeleton_thresh',
527529
'groupmask',
528530
'meanfa_file',
529-
'distance_map']),
531+
'distance_map',
532+
'all_FA_file']),
530533
name='inputnode')
531534

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

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

563-
(maskgroup, projectfa, [('out_file', 'data_file')]),
566+
(maskgroup, projectfa, [('out_file', 'alt_data_file')]),
564567
(inputnode, projectfa, [('skeleton_thresh', 'threshold'),
565568
("meanfa_file", "in_file"),
566569
("distance_map", "distance_map"),
570+
("all_FA_file", 'data_file')
567571
]),
568572
])
569573

0 commit comments

Comments
 (0)