Skip to content

Commit 6448ee8

Browse files
author
Shoshana Berleant
committed
test specs auto
1 parent a512faf commit 6448ee8

File tree

194 files changed

+860
-820
lines changed

Some content is hidden

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

194 files changed

+860
-820
lines changed

nipype/algorithms/tests/test_auto_ArtifactDetect.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_ArtifactDetect_inputs():
1717
mask_type=dict(mandatory=True,
1818
),
1919
norm_threshold=dict(mandatory=True,
20-
xor=[u'rotation_threshold', u'translation_threshold'],
20+
xor=['rotation_threshold', 'translation_threshold'],
2121
),
2222
parameter_source=dict(mandatory=True,
2323
),
@@ -28,18 +28,18 @@ def test_ArtifactDetect_inputs():
2828
realignment_parameters=dict(mandatory=True,
2929
),
3030
rotation_threshold=dict(mandatory=True,
31-
xor=[u'norm_threshold'],
31+
xor=['norm_threshold'],
3232
),
3333
save_plot=dict(usedefault=True,
3434
),
3535
translation_threshold=dict(mandatory=True,
36-
xor=[u'norm_threshold'],
36+
xor=['norm_threshold'],
3737
),
3838
use_differences=dict(maxlen=2,
3939
minlen=2,
4040
usedefault=True,
4141
),
42-
use_norm=dict(requires=[u'norm_threshold'],
42+
use_norm=dict(requires=['norm_threshold'],
4343
usedefault=True,
4444
),
4545
zintensity_threshold=dict(mandatory=True,

nipype/algorithms/tests/test_auto_CompCor.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44

55

66
def test_CompCor_inputs():
7-
input_map = dict(components_file=dict(mandatory=False,
8-
usedefault=True,
7+
input_map = dict(components_file=dict(usedefault=True,
98
),
109
ignore_exception=dict(nohash=True,
1110
usedefault=True,
1211
),
13-
mask_file=dict(mandatory=False,
14-
),
12+
mask_file=dict(),
1513
num_components=dict(usedefault=True,
1614
),
1715
realigned_file=dict(mandatory=True,

nipype/algorithms/tests/test_auto_FramewiseDisplacement.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ def test_FramewiseDisplacement_inputs():
1111
ignore_exception=dict(nohash=True,
1212
usedefault=True,
1313
),
14-
in_plots=dict(),
14+
in_plots=dict(mandatory=True,
15+
),
1516
normalize=dict(usedefault=True,
1617
),
1718
out_figure=dict(usedefault=True,

nipype/algorithms/tests/test_auto_SpecifyModel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
def test_SpecifyModel_inputs():
77
input_map = dict(event_files=dict(mandatory=True,
8-
xor=[u'subject_info', u'event_files'],
8+
xor=['subject_info', 'event_files'],
99
),
1010
functional_runs=dict(copyfile=False,
1111
mandatory=True,
@@ -22,7 +22,7 @@ def test_SpecifyModel_inputs():
2222
realignment_parameters=dict(copyfile=False,
2323
),
2424
subject_info=dict(mandatory=True,
25-
xor=[u'subject_info', u'event_files'],
25+
xor=['subject_info', 'event_files'],
2626
),
2727
time_repetition=dict(mandatory=True,
2828
),

nipype/algorithms/tests/test_auto_SpecifySPMModel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def test_SpecifySPMModel_inputs():
77
input_map = dict(concatenate_runs=dict(usedefault=True,
88
),
99
event_files=dict(mandatory=True,
10-
xor=[u'subject_info', u'event_files'],
10+
xor=['subject_info', 'event_files'],
1111
),
1212
functional_runs=dict(copyfile=False,
1313
mandatory=True,
@@ -26,7 +26,7 @@ def test_SpecifySPMModel_inputs():
2626
realignment_parameters=dict(copyfile=False,
2727
),
2828
subject_info=dict(mandatory=True,
29-
xor=[u'subject_info', u'event_files'],
29+
xor=['subject_info', 'event_files'],
3030
),
3131
time_repetition=dict(mandatory=True,
3232
),

nipype/algorithms/tests/test_auto_SpecifySparseModel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
def test_SpecifySparseModel_inputs():
77
input_map = dict(event_files=dict(mandatory=True,
8-
xor=[u'subject_info', u'event_files'],
8+
xor=['subject_info', 'event_files'],
99
),
1010
functional_runs=dict(copyfile=False,
1111
mandatory=True,
@@ -30,13 +30,13 @@ def test_SpecifySparseModel_inputs():
3030
stimuli_as_impulses=dict(usedefault=True,
3131
),
3232
subject_info=dict(mandatory=True,
33-
xor=[u'subject_info', u'event_files'],
33+
xor=['subject_info', 'event_files'],
3434
),
3535
time_acquisition=dict(mandatory=True,
3636
),
3737
time_repetition=dict(mandatory=True,
3838
),
39-
use_temporal_deriv=dict(requires=[u'model_hrf'],
39+
use_temporal_deriv=dict(requires=['model_hrf'],
4040
),
4141
volumes_in_cluster=dict(usedefault=True,
4242
),

nipype/algorithms/tests/test_auto_TCompCor.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44

55

66
def test_TCompCor_inputs():
7-
input_map = dict(components_file=dict(mandatory=False,
8-
usedefault=True,
7+
input_map = dict(components_file=dict(usedefault=True,
98
),
109
ignore_exception=dict(nohash=True,
1110
usedefault=True,
1211
),
13-
mask_file=dict(mandatory=False,
14-
),
12+
mask_file=dict(),
1513
num_components=dict(usedefault=True,
1614
),
1715
percentile_threshold=dict(usedefault=True,

nipype/interfaces/afni/tests/test_auto_AFNICommand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_AFNICommand_inputs():
1313
usedefault=True,
1414
),
1515
out_file=dict(argstr='-prefix %s',
16-
name_source=[u'in_file'],
16+
name_source=['in_file'],
1717
name_template='%s_afni',
1818
),
1919
outputtype=dict(),

nipype/interfaces/afni/tests/test_auto_AutoTcorrelate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def test_AutoTcorrelate_inputs():
2222
mask=dict(argstr='-mask %s',
2323
),
2424
mask_only_targets=dict(argstr='-mask_only_targets',
25-
xor=[u'mask_source'],
25+
xor=['mask_source'],
2626
),
2727
mask_source=dict(argstr='-mask_source %s',
28-
xor=[u'mask_only_targets'],
28+
xor=['mask_only_targets'],
2929
),
3030
out_file=dict(argstr='-prefix %s',
3131
name_source='in_file',

nipype/interfaces/afni/tests/test_auto_BlurToFWHM.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_BlurToFWHM_inputs():
2626
mask=dict(argstr='-blurmaster %s',
2727
),
2828
out_file=dict(argstr='-prefix %s',
29-
name_source=[u'in_file'],
29+
name_source=['in_file'],
3030
name_template='%s_afni',
3131
),
3232
outputtype=dict(),

0 commit comments

Comments
 (0)