Skip to content

Commit 56e5715

Browse files
committed
added auto test for 3dTsmooth (without removing other files)
1 parent 8d76fd2 commit 56e5715

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

nipype/interfaces/afni/tests/test_auto_TSmooth.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ def test_TSmooth_inputs():
88
adaptive=dict(argstr='-adaptive %d', ),
99
args=dict(argstr='%s', ),
1010
blackman=dict(argstr='-blackman %d', ),
11-
custom=dict(argstr='-custom %s', ),
11+
custom=dict(
12+
argstr='-custom %s',
13+
extensions=None,
14+
),
1215
datum=dict(argstr='-datum %s', ),
1316
environ=dict(
1417
nohash=True,
@@ -18,6 +21,7 @@ def test_TSmooth_inputs():
1821
in_file=dict(
1922
argstr='%s',
2023
copyfile=False,
24+
extensions=None,
2125
mandatory=True,
2226
position=-1,
2327
),
@@ -31,7 +35,7 @@ def test_TSmooth_inputs():
3135
osf=dict(argstr='-osf', ),
3236
out_file=dict(
3337
argstr='-prefix %s',
34-
genfile=True,
38+
extensions=None,
3539
name_source='in_file',
3640
name_template='%s_smooth',
3741
),
@@ -43,7 +47,7 @@ def test_TSmooth_inputs():
4347
for metakey, value in list(metadata.items()):
4448
assert getattr(inputs.traits()[key], metakey) == value
4549
def test_TSmooth_outputs():
46-
output_map = dict(out_file=dict(), )
50+
output_map = dict(out_file=dict(extensions=None, ), )
4751
outputs = TSmooth.output_spec()
4852

4953
for key, metadata in list(output_map.items()):

0 commit comments

Comments
 (0)