@@ -124,7 +124,7 @@ def test_probtrackx():
124
124
os2t = dict (argstr = '--os2t' ,),
125
125
out_dir = dict (argstr = '--dir=%s' ,),
126
126
output_type = dict (),
127
- rand_fib = dict (argstr = '--randfib %d' ,),
127
+ rand_fib = dict (argstr = '--randfib= %d' ,),
128
128
random_seed = dict (argstr = '--rseed' ,),
129
129
s2tastext = dict (argstr = '--s2tastext' ,),
130
130
sample_random_points = dict (argstr = '--sampvox' ,),
@@ -342,7 +342,7 @@ def test_randomise2():
342
342
int_seed = 4 )
343
343
344
344
actualCmdline = sorted (rand2 .cmdline .split ())
345
- cmd = 'randomise -i infile2 -o outfile2 -1 -f infile.f --seed 4'
345
+ cmd = 'randomise -i infile2 -o outfile2 -1 -f infile.f --seed= 4'
346
346
desiredCmdline = sorted (cmd .split ())
347
347
yield assert_equal , actualCmdline , desiredCmdline
348
348
@@ -379,13 +379,13 @@ def test_randomise2():
379
379
'diagnostics_off' : ('--quiet' , True ),
380
380
'output_raw' : ('-R' , True ),
381
381
'output_perm_vect' : ('-P' , True ),
382
- 'int_seed' : ('--seed 20' , 20 ),
383
- 'TFCE_height_param' : ('--tfce_H 0.11' , 0.11 ),
384
- 'TFCE_extent_param' : ('--tfce_E 0.50' , 0.50 ),
385
- 'TFCE_connectivity' : ('--tfce_C 0.30' , 0.30 ),
386
- 'list_num_voxel_EVs_pos' : ('--vxl 1,2,3,4' ,
382
+ 'int_seed' : ('--seed= 20' , 20 ),
383
+ 'TFCE_height_param' : ('--tfce_H= 0.11' , 0.11 ),
384
+ 'TFCE_extent_param' : ('--tfce_E= 0.50' , 0.50 ),
385
+ 'TFCE_connectivity' : ('--tfce_C= 0.30' , 0.30 ),
386
+ 'list_num_voxel_EVs_pos' : ('--vxl= 1,2,3,4' ,
387
387
'1,2,3,4' ),
388
- 'list_img_voxel_EVs' : ('--vxf 6,7,8,9,3' ,
388
+ 'list_img_voxel_EVs' : ('--vxf= 6,7,8,9,3' ,
389
389
'6,7,8,9,3' )}
390
390
391
391
for name , settings in opt_map .items ():
@@ -423,7 +423,7 @@ def test_Randomise_parallel():
423
423
int_seed = 4 )
424
424
425
425
actualCmdline = sorted (rand2 .cmdline .split ())
426
- cmd = 'randomise_parallel -i infile2 -o outfile2 -1 -f infile.f --seed 4'
426
+ cmd = 'randomise_parallel -i infile2 -o outfile2 -1 -f infile.f --seed= 4'
427
427
desiredCmdline = sorted (cmd .split ())
428
428
yield assert_equal , actualCmdline , desiredCmdline
429
429
@@ -460,14 +460,14 @@ def test_Randomise_parallel():
460
460
'diagnostics_off' : ('--quiet' , True ),
461
461
'output_raw' : ('-R' , True ),
462
462
'output_perm_vect' : ('-P' , True ),
463
- 'int_seed' : ('--seed 20' , 20 ),
464
- 'TFCE_height_param' : ('--tfce_H 0.11' , 0.11 ),
465
- 'TFCE_extent_param' : ('--tfce_E 0.50' , 0.50 ),
466
- 'TFCE_connectivity' : ('--tfce_C 0.30' , 0.30 ),
467
- 'list_num_voxel_EVs_pos' : ('--vxl ' \
463
+ 'int_seed' : ('--seed= 20' , 20 ),
464
+ 'TFCE_height_param' : ('--tfce_H= 0.11' , 0.11 ),
465
+ 'TFCE_extent_param' : ('--tfce_E= 0.50' , 0.50 ),
466
+ 'TFCE_connectivity' : ('--tfce_C= 0.30' , 0.30 ),
467
+ 'list_num_voxel_EVs_pos' : ('--vxl= ' \
468
468
+ repr ([1 , 2 , 3 , 4 ]),
469
469
repr ([1 , 2 , 3 , 4 ])),
470
- 'list_img_voxel_EVs' : ('--vxf ' \
470
+ 'list_img_voxel_EVs' : ('--vxf= ' \
471
471
+ repr ([6 , 7 , 8 , 9 , 3 ]),
472
472
repr ([6 , 7 , 8 , 9 , 3 ]))}
473
473
@@ -584,7 +584,7 @@ def test_Vec_reg():
584
584
'tensor' : ('--tensor' , True ),
585
585
'affineTmat' : ('-t Tmat' , 'Tmat' ),
586
586
'warpFile' : ('-w wrpFile' , 'wrpFile' ),
587
- 'interpolation' : ('--interp sinc' , 'sinc' ),
587
+ 'interpolation' : ('--interp= sinc' , 'sinc' ),
588
588
'brainMask' : ('-m mask' , 'mask' )}
589
589
590
590
for name , settings in opt_map .items ():
0 commit comments