Skip to content

Commit 4ac9162

Browse files
committed
quiet clfrac and t2_up parameters
1 parent 373bddd commit 4ac9162

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

nipype/interfaces/afni/tests/test_auto_Unifize.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
def test_Unifize_inputs():
77
input_map = dict(args=dict(argstr='%s',
88
),
9+
cl_frac=dict(argstr='-clfrac %f',
10+
),
911
environ=dict(nohash=True,
1012
usedefault=True,
1113
),
@@ -33,12 +35,16 @@ def test_Unifize_inputs():
3335
name_source='in_file',
3436
),
3537
outputtype=dict(),
38+
quiet=dict(argstr='-quiet',
39+
),
3640
rbt=dict(argstr='-rbt %f %f %f',
3741
),
3842
scale_file=dict(argstr='-ssave %s',
3943
),
4044
t2=dict(argstr='-T2',
4145
),
46+
t2_up=dict(argstr='-T2up %f',
47+
),
4248
terminal_output=dict(deprecated='1.0.0',
4349
nohash=True,
4450
),

nipype/interfaces/afni/utils.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,6 +2337,22 @@ class UnifizeInputSpec(AFNICommandInputSpec):
23372337
'b = bottom percentile of normalizing data range, [default=70.0]\n'
23382338
'r = top percentile of normalizing data range, [default=80.0]\n',
23392339
argstr='-rbt %f %f %f')
2340+
t2_up = traits.Float(
2341+
desc='Option for AFNI experts only.'
2342+
'Set the upper percentile point used for T2-T1 inversion. '
2343+
'Allowed to be anything between 90 and 100 (inclusive), with '
2344+
'default to 98.5 (for no good reason).',
2345+
argstr='-T2up %f')
2346+
cl_frac = traits.Float(
2347+
desc='Option for AFNI experts only.'
2348+
'Set the automask \'clip level fraction\'. Must be between '
2349+
'0.1 and 0.9. A small fraction means to make the initial '
2350+
'threshold for clipping (a la 3dClipLevel) smaller, which '
2351+
'will tend to make the mask larger. [default=0.1]',
2352+
argstr='-clfrac %f')
2353+
quiet = traits.Bool(
2354+
desc='Don\'t print the progress messages.',
2355+
argstr='-quiet')
23402356

23412357

23422358
class UnifizeOutputSpec(TraitedSpec):

0 commit comments

Comments
 (0)