Skip to content

Commit 19a356b

Browse files
committed
update specs of the two interfaces affected so far
1 parent 617bba0 commit 19a356b

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

nipype/interfaces/afni/tests/test_auto_OutlierCount.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ def test_OutlierCount_inputs():
88
),
99
autoclip=dict(argstr='-autoclip',
1010
usedefault=True,
11-
xor=['in_file'],
11+
xor=['mask'],
1212
),
1313
automask=dict(argstr='-automask',
1414
usedefault=True,
15-
xor=['in_file'],
15+
xor=['mask'],
1616
),
1717
environ=dict(nohash=True,
1818
usedefault=True,
@@ -54,7 +54,8 @@ def test_OutlierCount_inputs():
5454
),
5555
save_outliers=dict(usedefault=True,
5656
),
57-
terminal_output=dict(nohash=True,
57+
terminal_output=dict(deprecated='1.0.0',
58+
nohash=True,
5859
),
5960
)
6061
inputs = OutlierCount.input_spec()

nipype/interfaces/fsl/tests/test_auto_WarpPointsFromStd.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2-
from ....testing import assert_equal
2+
from __future__ import unicode_literals
33
from ..utils import WarpPointsFromStd
44

55

66
def test_WarpPointsFromStd_inputs():
77
input_map = dict(args=dict(argstr='%s',
88
),
99
coord_mm=dict(argstr='-mm',
10-
xor=[u'coord_vox'],
10+
xor=['coord_vox'],
1111
),
1212
coord_vox=dict(argstr='-vox',
13-
xor=[u'coord_mm'],
13+
xor=['coord_mm'],
1414
),
1515
environ=dict(nohash=True,
1616
usedefault=True,
@@ -28,20 +28,21 @@ def test_WarpPointsFromStd_inputs():
2828
std_file=dict(argstr='-std %s',
2929
mandatory=True,
3030
),
31-
terminal_output=dict(nohash=True,
31+
terminal_output=dict(deprecated='1.0.0',
32+
nohash=True,
3233
),
3334
warp_file=dict(argstr='-warp %s',
34-
xor=[u'xfm_file'],
35+
xor=['xfm_file'],
3536
),
3637
xfm_file=dict(argstr='-xfm %s',
37-
xor=[u'warp_file'],
38+
xor=['warp_file'],
3839
),
3940
)
4041
inputs = WarpPointsFromStd.input_spec()
4142

4243
for key, metadata in list(input_map.items()):
4344
for metakey, value in list(metadata.items()):
44-
yield assert_equal, getattr(inputs.traits()[key], metakey), value
45+
assert getattr(inputs.traits()[key], metakey) == value
4546

4647

4748
def test_WarpPointsFromStd_outputs():
@@ -51,4 +52,4 @@ def test_WarpPointsFromStd_outputs():
5152

5253
for key, metadata in list(output_map.items()):
5354
for metakey, value in list(metadata.items()):
54-
yield assert_equal, getattr(outputs.traits()[key], metakey), value
55+
assert getattr(outputs.traits()[key], metakey) == value

0 commit comments

Comments
 (0)