Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
added auto test for 3dTsmooth (without removing other files)
  • Loading branch information
gpiantoni committed Sep 6, 2019
commit 56e571532dc1470e63530d8a7e760db59d130ebd
10 changes: 7 additions & 3 deletions nipype/interfaces/afni/tests/test_auto_TSmooth.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ def test_TSmooth_inputs():
adaptive=dict(argstr='-adaptive %d', ),
args=dict(argstr='%s', ),
blackman=dict(argstr='-blackman %d', ),
custom=dict(argstr='-custom %s', ),
custom=dict(
argstr='-custom %s',
extensions=None,
),
datum=dict(argstr='-datum %s', ),
environ=dict(
nohash=True,
Expand All @@ -18,6 +21,7 @@ def test_TSmooth_inputs():
in_file=dict(
argstr='%s',
copyfile=False,
extensions=None,
mandatory=True,
position=-1,
),
Expand All @@ -31,7 +35,7 @@ def test_TSmooth_inputs():
osf=dict(argstr='-osf', ),
out_file=dict(
argstr='-prefix %s',
genfile=True,
extensions=None,
name_source='in_file',
name_template='%s_smooth',
),
Expand All @@ -43,7 +47,7 @@ def test_TSmooth_inputs():
for metakey, value in list(metadata.items()):
assert getattr(inputs.traits()[key], metakey) == value
def test_TSmooth_outputs():
output_map = dict(out_file=dict(), )
output_map = dict(out_file=dict(extensions=None, ), )
outputs = TSmooth.output_spec()

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