Skip to content

Commit d42ae1a

Browse files
authored
Merge pull request #2303 from oesteban/ref/interface-base
[MAINT] Reorganize nipype.interfaces.base
2 parents b401014 + 5512779 commit d42ae1a

File tree

825 files changed

+3649
-2671
lines changed

Some content is hidden

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

825 files changed

+3649
-2671
lines changed

nipype/algorithms/tests/test_auto_ACompCor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def test_ACompCor_inputs():
99
header_prefix=dict(),
1010
high_pass_cutoff=dict(usedefault=True,
1111
),
12-
ignore_exception=dict(nohash=True,
12+
ignore_exception=dict(deprecated='1.0.0',
13+
nohash=True,
1314
usedefault=True,
1415
),
1516
ignore_initial_volumes=dict(usedefault=True,

nipype/algorithms/tests/test_auto_AddCSVRow.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
def test_AddCSVRow_inputs():
77
input_map = dict(_outputs=dict(usedefault=True,
88
),
9-
ignore_exception=dict(nohash=True,
9+
ignore_exception=dict(deprecated='1.0.0',
10+
nohash=True,
1011
usedefault=True,
1112
),
1213
in_file=dict(mandatory=True,

nipype/algorithms/tests/test_auto_ArtifactDetect.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ def test_ArtifactDetect_inputs():
88
),
99
global_threshold=dict(usedefault=True,
1010
),
11-
ignore_exception=dict(nohash=True,
11+
ignore_exception=dict(deprecated='1.0.0',
12+
nohash=True,
1213
usedefault=True,
1314
),
1415
intersect_mask=dict(),

nipype/algorithms/tests/test_auto_CalculateMedian.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_CalculateMedian_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
in_files=dict(),

nipype/algorithms/tests/test_auto_ComputeDVARS.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ def test_ComputeDVARS_inputs():
1010
),
1111
figsize=dict(usedefault=True,
1212
),
13-
ignore_exception=dict(nohash=True,
13+
ignore_exception=dict(deprecated='1.0.0',
14+
nohash=True,
1415
usedefault=True,
1516
),
1617
in_file=dict(mandatory=True,

nipype/algorithms/tests/test_auto_ComputeMeshWarp.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_ComputeMeshWarp_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
metric=dict(usedefault=True,

nipype/algorithms/tests/test_auto_CreateNifti.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def test_CreateNifti_inputs():
99
),
1010
header_file=dict(mandatory=True,
1111
),
12-
ignore_exception=dict(nohash=True,
12+
ignore_exception=dict(deprecated='1.0.0',
13+
nohash=True,
1314
usedefault=True,
1415
),
1516
)

nipype/algorithms/tests/test_auto_Distance.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_Distance_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
mask_volume=dict(),

nipype/algorithms/tests/test_auto_FramewiseDisplacement.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ def test_FramewiseDisplacement_inputs():
88
),
99
figsize=dict(usedefault=True,
1010
),
11-
ignore_exception=dict(nohash=True,
11+
ignore_exception=dict(deprecated='1.0.0',
12+
nohash=True,
1213
usedefault=True,
1314
),
1415
in_file=dict(mandatory=True,

nipype/algorithms/tests/test_auto_FuzzyOverlap.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_FuzzyOverlap_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
in_ref=dict(mandatory=True,

nipype/algorithms/tests/test_auto_Gunzip.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_Gunzip_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
in_file=dict(mandatory=True,

nipype/algorithms/tests/test_auto_ICC.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_ICC_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
mask=dict(mandatory=True,

nipype/algorithms/tests/test_auto_MeshWarpMaths.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
def test_MeshWarpMaths_inputs():
77
input_map = dict(float_trait=dict(),
8-
ignore_exception=dict(nohash=True,
8+
ignore_exception=dict(deprecated='1.0.0',
9+
nohash=True,
910
usedefault=True,
1011
),
1112
in_surf=dict(mandatory=True,

nipype/algorithms/tests/test_auto_ModifyAffine.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_ModifyAffine_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
transformation_matrix=dict(usedefault=True,

nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_NonSteadyStateDetector_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
in_file=dict(mandatory=True,

nipype/algorithms/tests/test_auto_P2PDistance.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_P2PDistance_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
metric=dict(usedefault=True,

nipype/algorithms/tests/test_auto_PickAtlas.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ def test_PickAtlas_inputs():
1010
),
1111
hemi=dict(usedefault=True,
1212
),
13-
ignore_exception=dict(nohash=True,
13+
ignore_exception=dict(deprecated='1.0.0',
14+
nohash=True,
1415
usedefault=True,
1516
),
1617
labels=dict(mandatory=True,

nipype/algorithms/tests/test_auto_Similarity.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_Similarity_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
mask1=dict(),

nipype/algorithms/tests/test_auto_SimpleThreshold.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_SimpleThreshold_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
threshold=dict(mandatory=True,

nipype/algorithms/tests/test_auto_SpecifyModel.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ def test_SpecifyModel_inputs():
1212
),
1313
high_pass_filter_cutoff=dict(mandatory=True,
1414
),
15-
ignore_exception=dict(nohash=True,
15+
ignore_exception=dict(deprecated='1.0.0',
16+
nohash=True,
1617
usedefault=True,
1718
),
1819
input_units=dict(mandatory=True,

nipype/algorithms/tests/test_auto_SpecifySPMModel.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ def test_SpecifySPMModel_inputs():
1414
),
1515
high_pass_filter_cutoff=dict(mandatory=True,
1616
),
17-
ignore_exception=dict(nohash=True,
17+
ignore_exception=dict(deprecated='1.0.0',
18+
nohash=True,
1819
usedefault=True,
1920
),
2021
input_units=dict(mandatory=True,

nipype/algorithms/tests/test_auto_SpecifySparseModel.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ def test_SpecifySparseModel_inputs():
1212
),
1313
high_pass_filter_cutoff=dict(mandatory=True,
1414
),
15-
ignore_exception=dict(nohash=True,
15+
ignore_exception=dict(deprecated='1.0.0',
16+
nohash=True,
1617
usedefault=True,
1718
),
1819
input_units=dict(mandatory=True,

nipype/algorithms/tests/test_auto_StimulusCorrelation.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
def test_StimulusCorrelation_inputs():
77
input_map = dict(concatenated_design=dict(mandatory=True,
88
),
9-
ignore_exception=dict(nohash=True,
9+
ignore_exception=dict(deprecated='1.0.0',
10+
nohash=True,
1011
usedefault=True,
1112
),
1213
intensity_values=dict(mandatory=True,

nipype/algorithms/tests/test_auto_TCompCor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def test_TCompCor_inputs():
99
header_prefix=dict(),
1010
high_pass_cutoff=dict(usedefault=True,
1111
),
12-
ignore_exception=dict(nohash=True,
12+
ignore_exception=dict(deprecated='1.0.0',
13+
nohash=True,
1314
usedefault=True,
1415
),
1516
ignore_initial_volumes=dict(usedefault=True,

nipype/algorithms/tests/test_auto_TVTKBaseInterface.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_TVTKBaseInterface_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
)

nipype/algorithms/tests/test_auto_WarpPoints.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55

66
def test_WarpPoints_inputs():
7-
input_map = dict(ignore_exception=dict(nohash=True,
7+
input_map = dict(ignore_exception=dict(deprecated='1.0.0',
8+
nohash=True,
89
usedefault=True,
910
),
1011
interp=dict(mandatory=True,

nipype/interfaces/afni/tests/test_auto_ABoverlap.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def test_ABoverlap_inputs():
99
environ=dict(nohash=True,
1010
usedefault=True,
1111
),
12-
ignore_exception=dict(nohash=True,
12+
ignore_exception=dict(deprecated='1.0.0',
13+
nohash=True,
1314
usedefault=True,
1415
),
1516
in_file_a=dict(argstr='%s',

nipype/interfaces/afni/tests/test_auto_AFNICommand.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def test_AFNICommand_inputs():
99
environ=dict(nohash=True,
1010
usedefault=True,
1111
),
12-
ignore_exception=dict(nohash=True,
12+
ignore_exception=dict(deprecated='1.0.0',
13+
nohash=True,
1314
usedefault=True,
1415
),
1516
num_threads=dict(nohash=True,

nipype/interfaces/afni/tests/test_auto_AFNICommandBase.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def test_AFNICommandBase_inputs():
99
environ=dict(nohash=True,
1010
usedefault=True,
1111
),
12-
ignore_exception=dict(nohash=True,
12+
ignore_exception=dict(deprecated='1.0.0',
13+
nohash=True,
1314
usedefault=True,
1415
),
1516
terminal_output=dict(deprecated='1.0.0',

nipype/interfaces/afni/tests/test_auto_AFNIPythonCommand.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def test_AFNIPythonCommand_inputs():
99
environ=dict(nohash=True,
1010
usedefault=True,
1111
),
12-
ignore_exception=dict(nohash=True,
12+
ignore_exception=dict(deprecated='1.0.0',
13+
nohash=True,
1314
usedefault=True,
1415
),
1516
num_threads=dict(nohash=True,

nipype/interfaces/afni/tests/test_auto_AFNItoNIFTI.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ def test_AFNItoNIFTI_inputs():
1111
environ=dict(nohash=True,
1212
usedefault=True,
1313
),
14-
ignore_exception=dict(nohash=True,
14+
ignore_exception=dict(deprecated='1.0.0',
15+
nohash=True,
1516
usedefault=True,
1617
),
1718
in_file=dict(argstr='%s',

nipype/interfaces/afni/tests/test_auto_AlignEpiAnatPy.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def test_AlignEpiAnatPy_inputs():
2222
),
2323
epi_strip=dict(argstr='-epi_strip %s',
2424
),
25-
ignore_exception=dict(nohash=True,
25+
ignore_exception=dict(deprecated='1.0.0',
26+
nohash=True,
2627
usedefault=True,
2728
),
2829
in_file=dict(argstr='-epi %s',

nipype/interfaces/afni/tests/test_auto_Allineate.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def test_Allineate_inputs():
3333
),
3434
fine_blur=dict(argstr='-fineblur %f',
3535
),
36-
ignore_exception=dict(nohash=True,
36+
ignore_exception=dict(deprecated='1.0.0',
37+
nohash=True,
3738
usedefault=True,
3839
),
3940
in_file=dict(argstr='-source %s',

nipype/interfaces/afni/tests/test_auto_AutoTLRC.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ def test_AutoTLRC_inputs():
1212
environ=dict(nohash=True,
1313
usedefault=True,
1414
),
15-
ignore_exception=dict(nohash=True,
15+
ignore_exception=dict(deprecated='1.0.0',
16+
nohash=True,
1617
usedefault=True,
1718
),
1819
in_file=dict(argstr='-input %s',

nipype/interfaces/afni/tests/test_auto_AutoTcorrelate.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ def test_AutoTcorrelate_inputs():
1111
),
1212
eta2=dict(argstr='-eta2',
1313
),
14-
ignore_exception=dict(nohash=True,
14+
ignore_exception=dict(deprecated='1.0.0',
15+
nohash=True,
1516
usedefault=True,
1617
),
1718
in_file=dict(argstr='%s',

nipype/interfaces/afni/tests/test_auto_Autobox.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def test_Autobox_inputs():
99
environ=dict(nohash=True,
1010
usedefault=True,
1111
),
12-
ignore_exception=dict(nohash=True,
12+
ignore_exception=dict(deprecated='1.0.0',
13+
nohash=True,
1314
usedefault=True,
1415
),
1516
in_file=dict(argstr='-input %s',

nipype/interfaces/afni/tests/test_auto_Automask.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ def test_Automask_inputs():
1919
),
2020
erode=dict(argstr='-erode %s',
2121
),
22-
ignore_exception=dict(nohash=True,
22+
ignore_exception=dict(deprecated='1.0.0',
23+
nohash=True,
2324
usedefault=True,
2425
),
2526
in_file=dict(argstr='%s',

nipype/interfaces/afni/tests/test_auto_Axialize.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def test_Axialize_inputs():
1515
environ=dict(nohash=True,
1616
usedefault=True,
1717
),
18-
ignore_exception=dict(nohash=True,
18+
ignore_exception=dict(deprecated='1.0.0',
19+
nohash=True,
1920
usedefault=True,
2021
),
2122
in_file=dict(argstr='%s',

nipype/interfaces/afni/tests/test_auto_Bandpass.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ def test_Bandpass_inputs():
1919
mandatory=True,
2020
position=-3,
2121
),
22-
ignore_exception=dict(nohash=True,
22+
ignore_exception=dict(deprecated='1.0.0',
23+
nohash=True,
2324
usedefault=True,
2425
),
2526
in_file=dict(argstr='%s',

nipype/interfaces/afni/tests/test_auto_BlurInMask.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ def test_BlurInMask_inputs():
1616
fwhm=dict(argstr='-FWHM %f',
1717
mandatory=True,
1818
),
19-
ignore_exception=dict(nohash=True,
19+
ignore_exception=dict(deprecated='1.0.0',
20+
nohash=True,
2021
usedefault=True,
2122
),
2223
in_file=dict(argstr='-input %s',

0 commit comments

Comments
 (0)