Skip to content

Commit fbc8944

Browse files
authored
Merge pull request #2618 from effigies/deprecations
MAINT: Remove ignore_exception and terminal_output traits from input specs
2 parents fa864aa + a663f43 commit fbc8944

File tree

819 files changed

+26
-6862
lines changed

Some content is hidden

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

819 files changed

+26
-6862
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ before_install:
5454
fi;
5555

5656
- travis_retry pip install -r requirements.txt
57+
- travis_retry pip install grabbit==0.1.2
5758
- travis_retry git clone https://github.com/INCF/pybids.git ${HOME}/pybids &&
5859
pip install -e ${HOME}/pybids
5960

docker/generate_dockerfiles.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ function generate_main_dockerfile() {
106106
pandas psutil scikit-learn scipy traits=4.6.0' \
107107
pip_opts="-e" \
108108
pip_install="/src/nipype[all]" \
109+
--miniconda env_name=neuro \
110+
pip_install="grabbit==0.1.2" \
109111
--run-bash "mkdir -p /src/pybids
110-
&& curl -sSL --retry 5 https://github.com/INCF/pybids/tarball/master
112+
&& curl -sSL --retry 5 https://github.com/INCF/pybids/tarball/0.5.1
111113
| tar -xz -C /src/pybids --strip-components 1
112114
&& source activate neuro
113115
&& pip install --no-cache-dir -e /src/pybids" \

nipype/algorithms/tests/test_auto_ACompCor.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ def test_ACompCor_inputs():
88
components_file=dict(usedefault=True, ),
99
header_prefix=dict(),
1010
high_pass_cutoff=dict(usedefault=True, ),
11-
ignore_exception=dict(
12-
deprecated='1.0.0',
13-
nohash=True,
14-
usedefault=True,
15-
),
1611
ignore_initial_volumes=dict(usedefault=True, ),
1712
mask_files=dict(),
1813
mask_index=dict(

nipype/algorithms/tests/test_auto_ActivationCount.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_ActivationCount_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
in_files=dict(mandatory=True, ),
149
threshold=dict(mandatory=True, ),
1510
)

nipype/algorithms/tests/test_auto_AddCSVRow.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
def test_AddCSVRow_inputs():
77
input_map = dict(
88
_outputs=dict(usedefault=True, ),
9-
ignore_exception=dict(
10-
deprecated='1.0.0',
11-
nohash=True,
12-
usedefault=True,
13-
),
149
in_file=dict(mandatory=True, ),
1510
)
1611
inputs = AddCSVRow.input_spec()

nipype/algorithms/tests/test_auto_ArtifactDetect.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ def test_ArtifactDetect_inputs():
77
input_map = dict(
88
bound_by_brainmask=dict(usedefault=True, ),
99
global_threshold=dict(usedefault=True, ),
10-
ignore_exception=dict(
11-
deprecated='1.0.0',
12-
nohash=True,
13-
usedefault=True,
14-
),
1510
intersect_mask=dict(usedefault=True, ),
1611
mask_file=dict(),
1712
mask_threshold=dict(),

nipype/algorithms/tests/test_auto_CalculateMedian.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_CalculateMedian_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
in_files=dict(),
149
median_file=dict(),
1510
median_per_file=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_ComputeDVARS.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ def test_ComputeDVARS_inputs():
88
figdpi=dict(usedefault=True, ),
99
figformat=dict(usedefault=True, ),
1010
figsize=dict(usedefault=True, ),
11-
ignore_exception=dict(
12-
deprecated='1.0.0',
13-
nohash=True,
14-
usedefault=True,
15-
),
1611
in_file=dict(mandatory=True, ),
1712
in_mask=dict(mandatory=True, ),
1813
intensity_normalization=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_ComputeMeshWarp.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_ComputeMeshWarp_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
metric=dict(usedefault=True, ),
149
out_file=dict(usedefault=True, ),
1510
out_warp=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_CreateNifti.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ def test_CreateNifti_inputs():
88
affine=dict(),
99
data_file=dict(mandatory=True, ),
1010
header_file=dict(mandatory=True, ),
11-
ignore_exception=dict(
12-
deprecated='1.0.0',
13-
nohash=True,
14-
usedefault=True,
15-
),
1611
)
1712
inputs = CreateNifti.input_spec()
1813

nipype/algorithms/tests/test_auto_Distance.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_Distance_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
mask_volume=dict(),
149
method=dict(usedefault=True, ),
1510
volume1=dict(mandatory=True, ),

nipype/algorithms/tests/test_auto_FramewiseDisplacement.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ def test_FramewiseDisplacement_inputs():
77
input_map = dict(
88
figdpi=dict(usedefault=True, ),
99
figsize=dict(usedefault=True, ),
10-
ignore_exception=dict(
11-
deprecated='1.0.0',
12-
nohash=True,
13-
usedefault=True,
14-
),
1510
in_file=dict(mandatory=True, ),
1611
normalize=dict(usedefault=True, ),
1712
out_figure=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_FuzzyOverlap.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_FuzzyOverlap_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
in_mask=dict(),
149
in_ref=dict(mandatory=True, ),
1510
in_tst=dict(mandatory=True, ),

nipype/algorithms/tests/test_auto_Gunzip.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44

55

66
def test_Gunzip_inputs():
7-
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
13-
in_file=dict(mandatory=True, ),
14-
)
7+
input_map = dict(in_file=dict(mandatory=True, ), )
158
inputs = Gunzip.input_spec()
169

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

nipype/algorithms/tests/test_auto_ICC.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_ICC_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
mask=dict(mandatory=True, ),
149
subjects_sessions=dict(mandatory=True, ),
1510
)

nipype/algorithms/tests/test_auto_MeshWarpMaths.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
def test_MeshWarpMaths_inputs():
77
input_map = dict(
88
float_trait=dict(),
9-
ignore_exception=dict(
10-
deprecated='1.0.0',
11-
nohash=True,
12-
usedefault=True,
13-
),
149
in_surf=dict(mandatory=True, ),
1510
operation=dict(usedefault=True, ),
1611
operator=dict(

nipype/algorithms/tests/test_auto_ModifyAffine.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_ModifyAffine_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
transformation_matrix=dict(usedefault=True, ),
149
volumes=dict(mandatory=True, ),
1510
)

nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44

55

66
def test_NonSteadyStateDetector_inputs():
7-
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
13-
in_file=dict(mandatory=True, ),
14-
)
7+
input_map = dict(in_file=dict(mandatory=True, ), )
158
inputs = NonSteadyStateDetector.input_spec()
169

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

nipype/algorithms/tests/test_auto_P2PDistance.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_P2PDistance_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
metric=dict(usedefault=True, ),
149
out_file=dict(usedefault=True, ),
1510
out_warp=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_PickAtlas.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ def test_PickAtlas_inputs():
88
atlas=dict(mandatory=True, ),
99
dilation_size=dict(usedefault=True, ),
1010
hemi=dict(usedefault=True, ),
11-
ignore_exception=dict(
12-
deprecated='1.0.0',
13-
nohash=True,
14-
usedefault=True,
15-
),
1611
labels=dict(mandatory=True, ),
1712
output_file=dict(),
1813
)

nipype/algorithms/tests/test_auto_Similarity.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_Similarity_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
mask1=dict(),
149
mask2=dict(),
1510
metric=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_SimpleThreshold.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_SimpleThreshold_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
threshold=dict(mandatory=True, ),
149
volumes=dict(mandatory=True, ),
1510
)

nipype/algorithms/tests/test_auto_SpecifyModel.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ def test_SpecifyModel_inputs():
1414
mandatory=True,
1515
),
1616
high_pass_filter_cutoff=dict(mandatory=True, ),
17-
ignore_exception=dict(
18-
deprecated='1.0.0',
19-
nohash=True,
20-
usedefault=True,
21-
),
2217
input_units=dict(mandatory=True, ),
2318
outlier_files=dict(copyfile=False, ),
2419
parameter_source=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_SpecifySPMModel.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ def test_SpecifySPMModel_inputs():
1515
mandatory=True,
1616
),
1717
high_pass_filter_cutoff=dict(mandatory=True, ),
18-
ignore_exception=dict(
19-
deprecated='1.0.0',
20-
nohash=True,
21-
usedefault=True,
22-
),
2318
input_units=dict(mandatory=True, ),
2419
outlier_files=dict(copyfile=False, ),
2520
output_units=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_SpecifySparseModel.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ def test_SpecifySparseModel_inputs():
1414
mandatory=True,
1515
),
1616
high_pass_filter_cutoff=dict(mandatory=True, ),
17-
ignore_exception=dict(
18-
deprecated='1.0.0',
19-
nohash=True,
20-
usedefault=True,
21-
),
2217
input_units=dict(mandatory=True, ),
2318
model_hrf=dict(),
2419
outlier_files=dict(copyfile=False, ),

nipype/algorithms/tests/test_auto_StimulusCorrelation.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
def test_StimulusCorrelation_inputs():
77
input_map = dict(
88
concatenated_design=dict(mandatory=True, ),
9-
ignore_exception=dict(
10-
deprecated='1.0.0',
11-
nohash=True,
12-
usedefault=True,
13-
),
149
intensity_values=dict(mandatory=True, ),
1510
realignment_parameters=dict(mandatory=True, ),
1611
spm_mat_file=dict(mandatory=True, ),

nipype/algorithms/tests/test_auto_TCompCor.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ def test_TCompCor_inputs():
88
components_file=dict(usedefault=True, ),
99
header_prefix=dict(),
1010
high_pass_cutoff=dict(usedefault=True, ),
11-
ignore_exception=dict(
12-
deprecated='1.0.0',
13-
nohash=True,
14-
usedefault=True,
15-
),
1611
ignore_initial_volumes=dict(usedefault=True, ),
1712
mask_files=dict(),
1813
mask_index=dict(

nipype/algorithms/tests/test_auto_TVTKBaseInterface.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44

55

66
def test_TVTKBaseInterface_inputs():
7-
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
), )
7+
input_map = dict()
138
inputs = TVTKBaseInterface.input_spec()
149

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

nipype/algorithms/tests/test_auto_WarpPoints.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_WarpPoints_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
interp=dict(
149
mandatory=True,
1510
usedefault=True,

nipype/interfaces/afni/preprocess.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,12 +1811,6 @@ class ROIStatsInputSpec(CommandLineInputSpec):
18111811
argstr='-mask_f2short',
18121812
position=2)
18131813
quiet = traits.Bool(desc='execute quietly', argstr='-quiet', position=1)
1814-
terminal_output = traits.Enum(
1815-
'allatonce',
1816-
deprecated='1.0.0',
1817-
desc='Control terminal output:`allatonce` - waits till command is '
1818-
'finished to display output',
1819-
nohash=True)
18201814

18211815

18221816
class ROIStatsOutputSpec(TraitedSpec):

nipype/interfaces/afni/tests/test_auto_ABoverlap.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ def test_ABoverlap_inputs():
1010
nohash=True,
1111
usedefault=True,
1212
),
13-
ignore_exception=dict(
14-
deprecated='1.0.0',
15-
nohash=True,
16-
usedefault=True,
17-
),
1813
in_file_a=dict(
1914
argstr='%s',
2015
copyfile=False,
@@ -38,10 +33,6 @@ def test_ABoverlap_inputs():
3833
),
3934
outputtype=dict(),
4035
quiet=dict(argstr='-quiet', ),
41-
terminal_output=dict(
42-
deprecated='1.0.0',
43-
nohash=True,
44-
),
4536
verb=dict(argstr='-verb', ),
4637
)
4738
inputs = ABoverlap.input_spec()

0 commit comments

Comments
 (0)