Skip to content

Commit 775e21b

Browse files
authored
Merge pull request #2345 from salma1601/afni_verbosity
Afni verbosity
2 parents 3ed2840 + 6829757 commit 775e21b

File tree

6 files changed

+25
-0
lines changed

6 files changed

+25
-0
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,12 @@ class AllineateInputSpec(AFNICommandInputSpec):
438438
traits.Enum(*_dirs),
439439
argstr='-nwarp_fixdep%s',
440440
desc='To fix non-linear warp dependency along directions.')
441+
verbose = traits.Bool(
442+
argstr='-verb',
443+
desc='Print out verbose progress reports.')
444+
quiet = traits.Bool(
445+
argstr='-quiet',
446+
desc="Don't print out verbose progress reports.")
441447

442448

443449
class AllineateOutputSpec(TraitedSpec):

nipype/interfaces/afni/tests/test_auto_Allineate.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ def test_Allineate_inputs():
9595
outputtype=dict(),
9696
overwrite=dict(argstr='-overwrite',
9797
),
98+
quiet=dict(argstr='-quiet',
99+
),
98100
reference=dict(argstr='-base %s',
99101
),
100102
replacebase=dict(argstr='-replacebase',
@@ -118,6 +120,8 @@ def test_Allineate_inputs():
118120
),
119121
usetemp=dict(argstr='-usetemp',
120122
),
123+
verbose=dict(argstr='-verb',
124+
),
121125
warp_type=dict(argstr='-warp %s',
122126
),
123127
warpfreeze=dict(argstr='-warpfreeze',

nipype/interfaces/afni/tests/test_auto_Copy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def test_Copy_inputs():
3030
terminal_output=dict(deprecated='1.0.0',
3131
nohash=True,
3232
),
33+
verbose=dict(argstr='-verb',
34+
),
3335
)
3436
inputs = Copy.input_spec()
3537

nipype/interfaces/afni/tests/test_auto_MaskTool.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ def test_MaskTool_inputs():
4949
),
5050
union=dict(argstr='-union',
5151
),
52+
verbose=dict(argstr='-verb %s',
53+
),
5254
)
5355
inputs = MaskTool.input_spec()
5456

nipype/interfaces/afni/tests/test_auto_TCat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def test_TCat_inputs():
3232
terminal_output=dict(deprecated='1.0.0',
3333
nohash=True,
3434
),
35+
verbose=dict(argstr='-verb',
36+
),
3537
)
3638
inputs = TCat.input_spec()
3739

nipype/interfaces/afni/utils.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,9 @@ class CopyInputSpec(AFNICommandInputSpec):
751751
argstr='%s',
752752
position=-1,
753753
name_source='in_file')
754+
verbose = traits.Bool(
755+
desc='print progress reports',
756+
argstr='-verb')
754757

755758

756759
class Copy(AFNICommand):
@@ -1377,6 +1380,9 @@ class MaskToolInputSpec(AFNICommandInputSpec):
13771380
'or using the labels in {R,L,A,P,I,S}.',
13781381
argstr='-fill_dirs %s',
13791382
requires=['fill_holes'])
1383+
verbose = traits.Int(
1384+
desc='specify verbosity level, for 0 to 3',
1385+
argstr='-verb %s')
13801386

13811387

13821388
class MaskToolOutputSpec(TraitedSpec):
@@ -1985,6 +1991,9 @@ class TCatInputSpec(AFNICommandInputSpec):
19851991
'dataset mean back in. Option -rlt++ adds overall mean of all '
19861992
'dataset timeseries back in.',
19871993
position=1)
1994+
verbose = traits.Bool(
1995+
desc='Print out some verbose output as the program',
1996+
argstr='-verb')
19881997

19891998

19901999
class TCat(AFNICommand):

0 commit comments

Comments
 (0)