File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
nipype/interfaces/fsl/tests Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -455,17 +455,17 @@ def test_applywarp():
455
455
field_file = reffile ,
456
456
** {name : settings [1 ]})
457
457
if name == 'out_file' :
458
- realcmd = 'applywarp --warp =%s ' \
459
- '--in =%s --out=%s ' \
460
- '--ref =%s' % (reffile , infile ,
458
+ realcmd = 'applywarp --in =%s ' \
459
+ '--ref =%s --out=%s ' \
460
+ '--warp =%s' % (infile , reffile ,
461
461
settings [1 ],reffile )
462
462
else :
463
463
outfile = awarp ._gen_fname (infile , suffix = '_warp' )
464
- realcmd = 'applywarp --warp =%s ' \
465
- '--in =%s --out=%s ' \
466
- '%s --ref =%s' % (reffile , infile ,
467
- outfile , settings [ 0 ] ,
468
- reffile )
464
+ realcmd = 'applywarp --in =%s ' \
465
+ '--ref =%s --out=%s ' \
466
+ '--warp =%s %s ' % (infile , reffile ,
467
+ outfile , reffile ,
468
+ settings [ 0 ] )
469
469
yield assert_equal , awarp .cmdline , realcmd
470
470
471
471
awarp = fsl .ApplyWarp (in_file = infile ,
You can’t perform that action at this time.
0 commit comments