Skip to content

Commit aec75f6

Browse files
committed
Merge pull request #758 from mfalkiewicz/master
[FIX] correctly parse clfrac input parameter
2 parents 0839187 + f58af58 commit aec75f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ class AutomaskInputSpec(AFNICommandInputSpec):
509509
clfrac = traits.Float(desc='sets the clip level fraction' +
510510
' (must be 0.1-0.9). ' +
511511
'A small value will tend to make the mask larger [default = 0.5].',
512-
argstr="-dilate %s")
512+
argstr="-clfrac %s")
513513

514514
dilate = traits.Int(desc='dilate the mask outwards',
515515
argstr="-dilate %s")

nipype/interfaces/afni/tests/test_auto_Automask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_Automask_inputs():
1515
),
1616
dilate=dict(argstr='-dilate %s',
1717
),
18-
clfrac=dict(argstr='-dilate %s',
18+
clfrac=dict(argstr='-clfrac %s',
1919
),
2020
outputtype=dict(),
2121
brain_file=dict(name_source='in_file',

0 commit comments

Comments
 (0)