File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1607,7 +1607,8 @@ class ClusterInputSpec(FSLCommandInputSpec):
1607
1607
desc = 'interprets the threshold as a fraction of the robust range' )
1608
1608
connectivity = traits .Int (argstr = '--connectivity=%d' ,
1609
1609
desc = 'the connectivity of voxels (default 26)' )
1610
- use_mm = traits .Bool ('--mm' , desc = 'use mm, not voxel, coordinates' )
1610
+ use_mm = traits .Bool (False , usedefault = True , argstr = '--mm' ,
1611
+ desc = 'use mm, not voxel, coordinates' )
1611
1612
find_min = traits .Bool ('--min' , desc = 'find minima instead of maxima' )
1612
1613
no_table = traits .Bool (
1613
1614
'--no_table' , desc = 'suppresses printing of the table info' )
@@ -1644,8 +1645,9 @@ class Cluster(FSLCommand):
1644
1645
>>> cl.inputs.threshold = 2.3
1645
1646
>>> cl.inputs.in_file = 'zstat1.nii.gz'
1646
1647
>>> cl.inputs.out_localmax_txt_file = 'stats.txt'
1648
+ >>> cl.inputs.use_mm = True
1647
1649
>>> cl.cmdline
1648
- 'cluster --in=zstat1.nii.gz --olmax=stats.txt --thresh=2.3000000000'
1650
+ 'cluster --in=zstat1.nii.gz --olmax=stats.txt --thresh=2.3000000000 --mm '
1649
1651
1650
1652
"""
1651
1653
input_spec = ClusterInputSpec
You can’t perform that action at this time.
0 commit comments