Skip to content

Commit 508df5e

Browse files
committed
TEST: make specs
1 parent 2642799 commit 508df5e

File tree

133 files changed

+536
-339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+536
-339
lines changed

nipype/algorithms/tests/test_auto_AddCSVRow.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
def test_AddCSVRow_inputs():
77
input_map = dict(
88
_outputs=dict(usedefault=True, ),
9-
in_file=dict(mandatory=True, ),
9+
in_file=dict(
10+
extensions=None,
11+
mandatory=True,
12+
),
1013
)
1114
inputs = AddCSVRow.input_spec()
1215

nipype/algorithms/tests/test_auto_Gunzip.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44

55

66
def test_Gunzip_inputs():
7-
input_map = dict(
8-
in_file=dict(
9-
extensions=None,
10-
mandatory=True,
11-
), )
7+
input_map = dict(in_file=dict(
8+
extensions=None,
9+
mandatory=True,
10+
), )
1211
inputs = Gunzip.input_spec()
1312

1413
for key, metadata in list(input_map.items()):

nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44

55

66
def test_NonSteadyStateDetector_inputs():
7-
input_map = dict(
8-
in_file=dict(
9-
extensions=None,
10-
mandatory=True,
11-
), )
7+
input_map = dict(in_file=dict(
8+
extensions=None,
9+
mandatory=True,
10+
), )
1211
inputs = NonSteadyStateDetector.input_spec()
1312

1413
for key, metadata in list(input_map.items()):

nipype/interfaces/afni/tests/test_auto_Allineate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def test_Allineate_inputs():
8686
),
8787
out_weight_file=dict(
8888
argstr='-wtprefix %s',
89+
extensions=None,
8990
xor=['allcostx'],
9091
),
9192
outputtype=dict(),

nipype/interfaces/afni/tests/test_auto_Cat.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ def test_Cat_inputs():
2121
usedefault=True,
2222
),
2323
omitconst=dict(argstr='-nonconst', ),
24-
out_cint=dict(
25-
xor=[
26-
'out_format', 'out_nice', 'out_double', 'out_fint', 'out_int'
27-
], ),
24+
out_cint=dict(xor=[
25+
'out_format', 'out_nice', 'out_double', 'out_fint', 'out_int'
26+
], ),
2827
out_double=dict(
2928
argstr='-d',
3029
xor=['out_format', 'out_nice', 'out_int', 'out_fint', 'out_cint'],

nipype/interfaces/afni/tests/test_auto_ClipLevel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def test_ClipLevel_inputs():
1717
),
1818
grad=dict(
1919
argstr='-grad %s',
20+
extensions=None,
2021
position=3,
2122
xor='doall',
2223
),

nipype/interfaces/afni/tests/test_auto_LocalBistat.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ def test_LocalBistat_inputs():
2626
mandatory=True,
2727
position=-1,
2828
),
29-
mask_file=dict(argstr='-mask %s', ),
29+
mask_file=dict(
30+
argstr='-mask %s',
31+
extensions=None,
32+
),
3033
neighborhood=dict(
3134
argstr="-nbhd '%s(%s)'",
3235
mandatory=True,
@@ -37,6 +40,7 @@ def test_LocalBistat_inputs():
3740
),
3841
out_file=dict(
3942
argstr='-prefix %s',
43+
extensions=None,
4044
keep_extension=True,
4145
name_source='in_file1',
4246
name_template='%s_bistat',
@@ -49,6 +53,7 @@ def test_LocalBistat_inputs():
4953
),
5054
weight_file=dict(
5155
argstr='-weight %s',
56+
extensions=None,
5257
xor=['automask'],
5358
),
5459
)

nipype/interfaces/afni/tests/test_auto_Localstat.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ def test_Localstat_inputs():
2121
mandatory=True,
2222
position=-1,
2323
),
24-
mask_file=dict(argstr='-mask %s', ),
24+
mask_file=dict(
25+
argstr='-mask %s',
26+
extensions=None,
27+
),
2528
neighborhood=dict(
2629
argstr="-nbhd '%s(%s)'",
2730
mandatory=True,
@@ -33,6 +36,7 @@ def test_Localstat_inputs():
3336
),
3437
out_file=dict(
3538
argstr='-prefix %s',
39+
extensions=None,
3640
keep_extension=True,
3741
name_source='in_file',
3842
name_template='%s_localstat',

nipype/interfaces/afni/tests/test_auto_NwarpApply.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ def test_NwarpApply_inputs():
2020
usedefault=True,
2121
),
2222
inv_warp=dict(argstr='-iwarp', ),
23-
master=dict(argstr='-master %s', ),
23+
master=dict(
24+
argstr='-master %s',
25+
extensions=None,
26+
),
2427
out_file=dict(
2528
argstr='-prefix %s',
2629
extensions=None,

nipype/interfaces/afni/tests/test_auto_OneDToolPy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def test_OneDToolPy_inputs():
3030
show_censor_count=dict(argstr='-show_censor_count', ),
3131
show_cormat_warnings=dict(
3232
argstr='-show_cormat_warnings |& tee %s',
33+
extensions=None,
3334
position=-1,
3435
xor=['out_file'],
3536
),

0 commit comments

Comments
 (0)