Skip to content

Commit 41b6d75

Browse files
committed
made tests more thorough
1 parent 40aa656 commit 41b6d75

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

nipype/interfaces/fsl/tests/test_Level1Design_functions.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ def test_level1design():
1212
contrasts = Undefined
1313
do_tempfilter = False
1414
orthogonalization = {}
15-
ev_parameters = {"temporalderiv":False}
16-
for key, val in [('custom', 7), ('hrf', 3), ('dgamma', 3), ('gamma', 2), ('none', 0)]:
15+
basic_ev_parameters = {'temporalderiv':False}
16+
convolution_variants = [
17+
('custom', 7, {'temporalderiv':False, 'bfcustompath':'/some/path'}),
18+
('hrf', 3, basic_ev_parameters),
19+
('dgamma', 3, basic_ev_parameters),
20+
('gamma', 2, basic_ev_parameters),
21+
('none', 0, basic_ev_parameters)
22+
]
23+
for key, val, ev_parameters in convolution_variants:
1724
output_num, output_txt = Level1Design._create_ev_files(l, os.getcwd(),
1825
runinfo, runidx,
1926
ev_parameters,

0 commit comments

Comments
 (0)