Skip to content

Commit 8129ff4

Browse files
committed
run make check-before-commit without error
1 parent 28d59fe commit 8129ff4

File tree

134 files changed

+541
-340
lines changed

Some content is hidden

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

134 files changed

+541
-340
lines changed

nipype/algorithms/tests/test_auto_AddCSVRow.py

+4-1
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

+4-5
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

+4-5
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

+1
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

+3-4
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

+1
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

+6-1
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

+5-1
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

+4-1
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

+1
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
),

nipype/interfaces/afni/tests/test_auto_Qwarp.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ def test_Qwarp_inputs():
125125
name_source=['in_file'],
126126
name_template='ppp_%s',
127127
),
128-
out_weight_file=dict(argstr='-wtprefix %s', ),
128+
out_weight_file=dict(
129+
argstr='-wtprefix %s',
130+
extensions=None,
131+
),
129132
outputtype=dict(),
130133
overwrite=dict(argstr='-overwrite', ),
131134
pblur=dict(argstr='-pblur %s', ),

nipype/interfaces/afni/tests/test_auto_QwarpPlusMinus.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ def test_QwarpPlusMinus_inputs():
125125
position=0,
126126
usedefault=True,
127127
),
128-
out_weight_file=dict(argstr='-wtprefix %s', ),
128+
out_weight_file=dict(
129+
argstr='-wtprefix %s',
130+
extensions=None,
131+
),
129132
outputtype=dict(),
130133
overwrite=dict(argstr='-overwrite', ),
131134
pblur=dict(argstr='-pblur %s', ),

nipype/interfaces/afni/tests/test_auto_ROIStats.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ def test_ROIStats_inputs():
4949
position=-1,
5050
),
5151
quiet=dict(argstr='-quiet', ),
52-
roisel=dict(argstr='-roisel %s', ),
52+
roisel=dict(
53+
argstr='-roisel %s',
54+
extensions=None,
55+
),
5356
stat=dict(argstr='%s...', ),
5457
zerofill=dict(
5558
argstr='-zerofill %s',

nipype/interfaces/afni/tests/test_auto_ReHo.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@ def test_ReHo_inputs():
2525
argstr='-in_rois %s',
2626
extensions=None,
2727
),
28-
mask_file=dict(argstr='-mask %s', ),
28+
mask_file=dict(
29+
argstr='-mask %s',
30+
extensions=None,
31+
),
2932
neighborhood=dict(
3033
argstr='-nneigh %s',
3134
xor=['sphere', 'ellipsoid'],
3235
),
3336
out_file=dict(
3437
argstr='-prefix %s',
38+
extensions=None,
3539
keep_extension=True,
3640
name_source='in_file',
3741
name_template='%s_reho',

nipype/interfaces/afni/tests/test_auto_Remlfit.py

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def test_Remlfit_inputs():
5858
),
5959
matim=dict(
6060
argstr='-matim %s',
61+
extensions=None,
6162
xor=['matrix'],
6263
),
6364
matrix=dict(

nipype/interfaces/afni/tests/test_auto_Resample.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ def test_Resample_inputs():
1717
mandatory=True,
1818
position=-1,
1919
),
20-
master=dict(argstr='-master %s', ),
20+
master=dict(
21+
argstr='-master %s',
22+
extensions=None,
23+
),
2124
num_threads=dict(
2225
nohash=True,
2326
usedefault=True,

nipype/interfaces/afni/tests/test_auto_TCorrMap.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ def test_TCorrMap_inputs():
9393
name_source='in_file',
9494
suffix='_qmean',
9595
),
96-
regress_out_timeseries=dict(argstr='-ort %s', ),
96+
regress_out_timeseries=dict(
97+
argstr='-ort %s',
98+
extensions=None,
99+
),
97100
seeds=dict(
98101
argstr='-seed %s',
99102
extensions=None,

nipype/interfaces/afni/tests/test_auto_Zeropad.py

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def test_Zeropad_inputs():
5555
),
5656
master=dict(
5757
argstr='-master %s',
58+
extensions=None,
5859
xor=['I', 'S', 'A', 'P', 'L', 'R', 'z', 'RL', 'AP', 'IS', 'mm'],
5960
),
6061
mm=dict(

nipype/interfaces/ants/tests/test_auto_ANTS.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def test_ANTS_inputs():
5757
regularization=dict(argstr='%s', ),
5858
regularization_deformation_field_sigma=dict(
5959
requires=['regularization'], ),
60-
regularization_gradient_field_sigma=dict(
61-
requires=['regularization'], ),
60+
regularization_gradient_field_sigma=dict(requires=['regularization'
61+
], ),
6262
smoothing_sigmas=dict(
6363
argstr='--gaussian-smoothing-sigmas %s',
6464
sep='x',

nipype/interfaces/ants/tests/test_auto_AntsJointFusion.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ def test_AntsJointFusion_inputs():
4444
nohash=True,
4545
usedefault=True,
4646
),
47-
out_atlas_voting_weight_name_format=dict(
48-
requires=[
49-
'out_label_fusion', 'out_intensity_fusion_name_format',
50-
'out_label_post_prob_name_format'
51-
], ),
47+
out_atlas_voting_weight_name_format=dict(requires=[
48+
'out_label_fusion', 'out_intensity_fusion_name_format',
49+
'out_label_post_prob_name_format'
50+
], ),
5251
out_intensity_fusion_name_format=dict(argstr='', ),
5352
out_label_fusion=dict(
5453
argstr='%s',

nipype/interfaces/ants/tests/test_auto_Atropos.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def test_Atropos_inputs():
5353
prior_probability_threshold=dict(requires=['prior_weighting'], ),
5454
prior_weighting=dict(),
5555
save_posteriors=dict(),
56-
use_mixture_model_proportions=dict(
57-
requires=['posterior_formulation'], ),
56+
use_mixture_model_proportions=dict(requires=['posterior_formulation'
57+
], ),
5858
use_random_seed=dict(
5959
argstr='--use-random-seed %d',
6060
usedefault=True,

nipype/interfaces/base/tests/test_auto_StdOutCommandLine.py

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def test_StdOutCommandLine_inputs():
1212
),
1313
out_file=dict(
1414
argstr='> %s',
15+
extensions=None,
1516
genfile=True,
1617
position=-1,
1718
),

nipype/interfaces/camino/tests/test_auto_AnalyzeHeader.py

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def test_AnalyzeHeader_inputs():
5050
),
5151
out_file=dict(
5252
argstr='> %s',
53+
extensions=None,
5354
genfile=True,
5455
position=-1,
5556
),

nipype/interfaces/camino/tests/test_auto_ComputeEigensystem.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def test_ComputeEigensystem_inputs():
2424
maxcomponents=dict(argstr='-maxcomponents %d', ),
2525
out_file=dict(
2626
argstr='> %s',
27+
extensions=None,
2728
genfile=True,
2829
position=-1,
2930
),

nipype/interfaces/camino/tests/test_auto_ComputeFractionalAnisotropy.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def test_ComputeFractionalAnisotropy_inputs():
2020
inputmodel=dict(argstr='-inputmodel %s', ),
2121
out_file=dict(
2222
argstr='> %s',
23+
extensions=None,
2324
genfile=True,
2425
position=-1,
2526
),

nipype/interfaces/camino/tests/test_auto_ComputeTensorTrace.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def test_ComputeTensorTrace_inputs():
2020
inputmodel=dict(argstr='-inputmodel %s', ),
2121
out_file=dict(
2222
argstr='> %s',
23+
extensions=None,
2324
genfile=True,
2425
position=-1,
2526
),

nipype/interfaces/camino/tests/test_auto_DTIFit.py

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def test_DTIFit_inputs():
2626
),
2727
out_file=dict(
2828
argstr='> %s',
29+
extensions=None,
2930
genfile=True,
3031
position=-1,
3132
),

nipype/interfaces/camino/tests/test_auto_DTLUTGen.py

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def test_DTLUTGen_inputs():
2828
),
2929
out_file=dict(
3030
argstr='> %s',
31+
extensions=None,
3132
genfile=True,
3233
position=-1,
3334
),

nipype/interfaces/camino/tests/test_auto_FSL2Scheme.py

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def test_FSL2Scheme_inputs():
4040
),
4141
out_file=dict(
4242
argstr='> %s',
43+
extensions=None,
4344
genfile=True,
4445
position=-1,
4546
),

nipype/interfaces/camino/tests/test_auto_Image2Voxel.py

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def test_Image2Voxel_inputs():
1818
),
1919
out_file=dict(
2020
argstr='> %s',
21+
extensions=None,
2122
genfile=True,
2223
position=-1,
2324
),

nipype/interfaces/camino/tests/test_auto_LinRecon.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def test_LinRecon_inputs():
2424
normalize=dict(argstr='-normalize', ),
2525
out_file=dict(
2626
argstr='> %s',
27+
extensions=None,
2728
genfile=True,
2829
position=-1,
2930
),

nipype/interfaces/camino/tests/test_auto_MESD.py

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def test_MESD_inputs():
4242
),
4343
out_file=dict(
4444
argstr='> %s',
45+
extensions=None,
4546
genfile=True,
4647
position=-1,
4748
),

nipype/interfaces/camino/tests/test_auto_ModelFit.py

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def test_ModelFit_inputs():
3434
),
3535
out_file=dict(
3636
argstr='> %s',
37+
extensions=None,
3738
genfile=True,
3839
position=-1,
3940
),

nipype/interfaces/camino/tests/test_auto_NIfTIDT2Camino.py

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def test_NIfTIDT2Camino_inputs():
2626
),
2727
out_file=dict(
2828
argstr='> %s',
29+
extensions=None,
2930
genfile=True,
3031
position=-1,
3132
),

nipype/interfaces/camino/tests/test_auto_PicoPDFs.py

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def test_PicoPDFs_inputs():
3636
),
3737
out_file=dict(
3838
argstr='> %s',
39+
extensions=None,
3940
genfile=True,
4041
position=-1,
4142
),

nipype/interfaces/camino/tests/test_auto_ProcStreamlines.py

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def test_ProcStreamlines_inputs():
6262
noresample=dict(argstr='-noresample', ),
6363
out_file=dict(
6464
argstr='> %s',
65+
extensions=None,
6566
genfile=True,
6667
position=-1,
6768
),

0 commit comments

Comments
 (0)