Skip to content

Commit 813ccf7

Browse files
committed
Update auto tests
1 parent 1ab0619 commit 813ccf7

File tree

701 files changed

+1520
-819
lines changed

Some content is hidden

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

701 files changed

+1520
-819
lines changed

nipype/algorithms/tests/test_auto_ACompCor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..confounds import ACompCor
3+
from __future__ import unicode_literals
34

45

56
def test_ACompCor_inputs():

nipype/algorithms/tests/test_auto_AddCSVColumn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import AddCSVColumn
3+
from __future__ import unicode_literals
34

45

56
def test_AddCSVColumn_inputs():

nipype/algorithms/tests/test_auto_AddCSVRow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import AddCSVRow
3+
from __future__ import unicode_literals
34

45

56
def test_AddCSVRow_inputs():

nipype/algorithms/tests/test_auto_AddNoise.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import AddNoise
3+
from __future__ import unicode_literals
34

45

56
def test_AddNoise_inputs():

nipype/algorithms/tests/test_auto_ArtifactDetect.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..rapidart import ArtifactDetect
3+
from __future__ import unicode_literals
34

45

56
def test_ArtifactDetect_inputs():
@@ -16,7 +17,7 @@ def test_ArtifactDetect_inputs():
1617
mask_type=dict(mandatory=True,
1718
),
1819
norm_threshold=dict(mandatory=True,
19-
xor=[u'rotation_threshold', u'translation_threshold'],
20+
xor=['rotation_threshold', 'translation_threshold'],
2021
),
2122
parameter_source=dict(mandatory=True,
2223
),
@@ -27,18 +28,18 @@ def test_ArtifactDetect_inputs():
2728
realignment_parameters=dict(mandatory=True,
2829
),
2930
rotation_threshold=dict(mandatory=True,
30-
xor=[u'norm_threshold'],
31+
xor=['norm_threshold'],
3132
),
3233
save_plot=dict(usedefault=True,
3334
),
3435
translation_threshold=dict(mandatory=True,
35-
xor=[u'norm_threshold'],
36+
xor=['norm_threshold'],
3637
),
3738
use_differences=dict(maxlen=2,
3839
minlen=2,
3940
usedefault=True,
4041
),
41-
use_norm=dict(requires=[u'norm_threshold'],
42+
use_norm=dict(requires=['norm_threshold'],
4243
usedefault=True,
4344
),
4445
zintensity_threshold=dict(mandatory=True,

nipype/algorithms/tests/test_auto_CalculateNormalizedMoments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import CalculateNormalizedMoments
3+
from __future__ import unicode_literals
34

45

56
def test_CalculateNormalizedMoments_inputs():

nipype/algorithms/tests/test_auto_CompCor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..confounds import CompCor
3+
from __future__ import unicode_literals
34

45

56
def test_CompCor_inputs():

nipype/algorithms/tests/test_auto_ComputeDVARS.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..confounds import ComputeDVARS
3+
from __future__ import unicode_literals
34

45

56
def test_ComputeDVARS_inputs():

nipype/algorithms/tests/test_auto_ComputeMeshWarp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..mesh import ComputeMeshWarp
3+
from __future__ import unicode_literals
34

45

56
def test_ComputeMeshWarp_inputs():

nipype/algorithms/tests/test_auto_CreateNifti.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import CreateNifti
3+
from __future__ import unicode_literals
34

45

56
def test_CreateNifti_inputs():

nipype/algorithms/tests/test_auto_Distance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import Distance
3+
from __future__ import unicode_literals
34

45

56
def test_Distance_inputs():

nipype/algorithms/tests/test_auto_ErrorMap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..metrics import ErrorMap
3+
from __future__ import unicode_literals
34

45

56
def test_ErrorMap_inputs():

nipype/algorithms/tests/test_auto_FramewiseDisplacement.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..confounds import FramewiseDisplacement
3+
from __future__ import unicode_literals
34

45

56
def test_FramewiseDisplacement_inputs():

nipype/algorithms/tests/test_auto_FuzzyOverlap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import FuzzyOverlap
3+
from __future__ import unicode_literals
34

45

56
def test_FuzzyOverlap_inputs():

nipype/algorithms/tests/test_auto_Gunzip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import Gunzip
3+
from __future__ import unicode_literals
34

45

56
def test_Gunzip_inputs():

nipype/algorithms/tests/test_auto_ICC.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..icc import ICC
3+
from __future__ import unicode_literals
34

45

56
def test_ICC_inputs():

nipype/algorithms/tests/test_auto_Matlab2CSV.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import Matlab2CSV
3+
from __future__ import unicode_literals
34

45

56
def test_Matlab2CSV_inputs():

nipype/algorithms/tests/test_auto_MergeCSVFiles.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import MergeCSVFiles
3+
from __future__ import unicode_literals
34

45

56
def test_MergeCSVFiles_inputs():

nipype/algorithms/tests/test_auto_MergeROIs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import MergeROIs
3+
from __future__ import unicode_literals
34

45

56
def test_MergeROIs_inputs():

nipype/algorithms/tests/test_auto_MeshWarpMaths.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..mesh import MeshWarpMaths
3+
from __future__ import unicode_literals
34

45

56
def test_MeshWarpMaths_inputs():

nipype/algorithms/tests/test_auto_ModifyAffine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import ModifyAffine
3+
from __future__ import unicode_literals
34

45

56
def test_ModifyAffine_inputs():

nipype/algorithms/tests/test_auto_NormalizeProbabilityMapSet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import NormalizeProbabilityMapSet
3+
from __future__ import unicode_literals
34

45

56
def test_NormalizeProbabilityMapSet_inputs():

nipype/algorithms/tests/test_auto_Overlap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import Overlap
3+
from __future__ import unicode_literals
34

45

56
def test_Overlap_inputs():

nipype/algorithms/tests/test_auto_P2PDistance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..mesh import P2PDistance
3+
from __future__ import unicode_literals
34

45

56
def test_P2PDistance_inputs():

nipype/algorithms/tests/test_auto_PickAtlas.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import PickAtlas
3+
from __future__ import unicode_literals
34

45

56
def test_PickAtlas_inputs():

nipype/algorithms/tests/test_auto_Similarity.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..metrics import Similarity
3+
from __future__ import unicode_literals
34

45

56
def test_Similarity_inputs():

nipype/algorithms/tests/test_auto_SimpleThreshold.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import SimpleThreshold
3+
from __future__ import unicode_literals
34

45

56
def test_SimpleThreshold_inputs():

nipype/algorithms/tests/test_auto_SpecifyModel.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..modelgen import SpecifyModel
3+
from __future__ import unicode_literals
34

45

56
def test_SpecifyModel_inputs():
67
input_map = dict(event_files=dict(mandatory=True,
7-
xor=[u'subject_info', u'event_files'],
8+
xor=['subject_info', 'event_files'],
89
),
910
functional_runs=dict(copyfile=False,
1011
mandatory=True,
@@ -21,7 +22,7 @@ def test_SpecifyModel_inputs():
2122
realignment_parameters=dict(copyfile=False,
2223
),
2324
subject_info=dict(mandatory=True,
24-
xor=[u'subject_info', u'event_files'],
25+
xor=['subject_info', 'event_files'],
2526
),
2627
time_repetition=dict(mandatory=True,
2728
),

nipype/algorithms/tests/test_auto_SpecifySPMModel.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..modelgen import SpecifySPMModel
3+
from __future__ import unicode_literals
34

45

56
def test_SpecifySPMModel_inputs():
67
input_map = dict(concatenate_runs=dict(usedefault=True,
78
),
89
event_files=dict(mandatory=True,
9-
xor=[u'subject_info', u'event_files'],
10+
xor=['subject_info', 'event_files'],
1011
),
1112
functional_runs=dict(copyfile=False,
1213
mandatory=True,
@@ -25,7 +26,7 @@ def test_SpecifySPMModel_inputs():
2526
realignment_parameters=dict(copyfile=False,
2627
),
2728
subject_info=dict(mandatory=True,
28-
xor=[u'subject_info', u'event_files'],
29+
xor=['subject_info', 'event_files'],
2930
),
3031
time_repetition=dict(mandatory=True,
3132
),

nipype/algorithms/tests/test_auto_SpecifySparseModel.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..modelgen import SpecifySparseModel
3+
from __future__ import unicode_literals
34

45

56
def test_SpecifySparseModel_inputs():
67
input_map = dict(event_files=dict(mandatory=True,
7-
xor=[u'subject_info', u'event_files'],
8+
xor=['subject_info', 'event_files'],
89
),
910
functional_runs=dict(copyfile=False,
1011
mandatory=True,
@@ -29,13 +30,13 @@ def test_SpecifySparseModel_inputs():
2930
stimuli_as_impulses=dict(usedefault=True,
3031
),
3132
subject_info=dict(mandatory=True,
32-
xor=[u'subject_info', u'event_files'],
33+
xor=['subject_info', 'event_files'],
3334
),
3435
time_acquisition=dict(mandatory=True,
3536
),
3637
time_repetition=dict(mandatory=True,
3738
),
38-
use_temporal_deriv=dict(requires=[u'model_hrf'],
39+
use_temporal_deriv=dict(requires=['model_hrf'],
3940
),
4041
volumes_in_cluster=dict(usedefault=True,
4142
),

nipype/algorithms/tests/test_auto_SplitROIs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import SplitROIs
3+
from __future__ import unicode_literals
34

45

56
def test_SplitROIs_inputs():

nipype/algorithms/tests/test_auto_StimulusCorrelation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..rapidart import StimulusCorrelation
3+
from __future__ import unicode_literals
34

45

56
def test_StimulusCorrelation_inputs():

nipype/algorithms/tests/test_auto_TCompCor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..confounds import TCompCor
3+
from __future__ import unicode_literals
34

45

56
def test_TCompCor_inputs():

nipype/algorithms/tests/test_auto_TSNR.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..misc import TSNR
3+
from __future__ import unicode_literals
34

45

56
def test_TSNR_inputs():

nipype/algorithms/tests/test_auto_TVTKBaseInterface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..mesh import TVTKBaseInterface
3+
from __future__ import unicode_literals
34

45

56
def test_TVTKBaseInterface_inputs():

nipype/algorithms/tests/test_auto_WarpPoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..mesh import WarpPoints
3+
from __future__ import unicode_literals
34

45

56
def test_WarpPoints_inputs():

nipype/interfaces/afni/tests/test_auto_AFNICommand.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..base import AFNICommand
3+
from __future__ import unicode_literals
34

45

56
def test_AFNICommand_inputs():
@@ -12,7 +13,7 @@ def test_AFNICommand_inputs():
1213
usedefault=True,
1314
),
1415
out_file=dict(argstr='-prefix %s',
15-
name_source=[u'in_file'],
16+
name_source=['in_file'],
1617
name_template='%s_afni',
1718
),
1819
outputtype=dict(),

nipype/interfaces/afni/tests/test_auto_AFNICommandBase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..base import AFNICommandBase
3+
from __future__ import unicode_literals
34

45

56
def test_AFNICommandBase_inputs():

nipype/interfaces/afni/tests/test_auto_AFNItoNIFTI.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..utils import AFNItoNIFTI
3+
from __future__ import unicode_literals
34

45

56
def test_AFNItoNIFTI_inputs():
@@ -19,10 +20,10 @@ def test_AFNItoNIFTI_inputs():
1920
position=-1,
2021
),
2122
newid=dict(argstr='-newid',
22-
xor=[u'oldid'],
23+
xor=['oldid'],
2324
),
2425
oldid=dict(argstr='-oldid',
25-
xor=[u'newid'],
26+
xor=['newid'],
2627
),
2728
out_file=dict(argstr='-prefix %s',
2829
hash_files=False,

nipype/interfaces/afni/tests/test_auto_Allineate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ..preprocess import Allineate
3+
from __future__ import unicode_literals
34

45

56
def test_Allineate_inputs():

0 commit comments

Comments
 (0)