Skip to content

Commit 6239693

Browse files
authored
Merge pull request #2369 from oesteban/jdurnez-patch-2063
[FIX] Cluster threshold in randomise + change default prefix
2 parents 00ef467 + 49323ec commit 6239693

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

CHANGES

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

4+
* FIX: Cluster threshold in randomise + change default prefix (https://github.com/nipy/nipype/pull/2369)
45
* MAINT: Cleaning / simplify ``Node`` (https://github.com/nipy/nipype/pull/#2325)
56

67
0.14.0 (November 29, 2017)

nipype/interfaces/fsl/model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,7 +1887,7 @@ class RandomiseInputSpec(FSLCommandInputSpec):
18871887
in_file = File(exists=True, desc='4D input file', argstr='-i %s',
18881888
position=0, mandatory=True)
18891889
base_name = traits.Str(
1890-
'tbss_', desc='the rootname that all generated files will have',
1890+
'randomise', desc='the rootname that all generated files will have',
18911891
argstr='-o "%s"', position=1, usedefault=True)
18921892
design_mat = File(
18931893
exists=True, desc='design matrix file', argstr='-d %s', position=2)
@@ -1934,9 +1934,9 @@ class RandomiseInputSpec(FSLCommandInputSpec):
19341934
var_smooth = traits.Int(
19351935
argstr='-v %d', desc='use variance smoothing (std is in mm)')
19361936
c_thresh = traits.Float(
1937-
argstr='-c %.2f', desc='carry out cluster-based thresholding')
1937+
argstr='-c %.1f', desc='carry out cluster-based thresholding')
19381938
cm_thresh = traits.Float(
1939-
argstr='-C %.2f', desc='carry out cluster-mass-based thresholding')
1939+
argstr='-C %.1f', desc='carry out cluster-mass-based thresholding')
19401940
f_c_thresh = traits.Float(
19411941
argstr='-F %.2f', desc='carry out f cluster thresholding')
19421942
f_cm_thresh = traits.Float(
@@ -1980,7 +1980,7 @@ class Randomise(FSLCommand):
19801980
>>> import nipype.interfaces.fsl as fsl
19811981
>>> rand = fsl.Randomise(in_file='allFA.nii', mask = 'mask.nii', tcon='design.con', design_mat='design.mat')
19821982
>>> rand.cmdline
1983-
'randomise -i allFA.nii -o "tbss_" -d design.mat -t design.con -m mask.nii'
1983+
'randomise -i allFA.nii -o "randomise" -d design.mat -t design.con -m mask.nii'
19841984
19851985
"""
19861986

nipype/interfaces/fsl/tests/test_auto_Randomise.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ def test_Randomise_inputs():
1010
position=1,
1111
usedefault=True,
1212
),
13-
c_thresh=dict(argstr='-c %.2f',
13+
c_thresh=dict(argstr='-c %.1f',
1414
),
15-
cm_thresh=dict(argstr='-C %.2f',
15+
cm_thresh=dict(argstr='-C %.1f',
1616
),
1717
demean=dict(argstr='-D',
1818
),

0 commit comments

Comments
 (0)