Skip to content

Commit 6d4d493

Browse files
committed
Merge pull request #1060 from robbert-harms/tbss_fix
FIX: Bug in tbss1
2 parents 3d3cdec + 629e2df commit 6d4d493

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nipype/workflows/dmri/fsl/tbss.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def tbss1_op_string(in_files):
1515
for infile in in_files:
1616
img = nib.load(infile)
1717
dimtup = tuple([d - 2 for d in img.get_shape()])
18+
dimtup = dimtup[0:3]
1819
op_str = '-min 1 -ero -roi 1 %d 1 %d 1 %d 0 1' % dimtup
1920
op_strings.append(op_str)
2021
return op_strings

0 commit comments

Comments
 (0)