Skip to content

Commit 6b328f0

Browse files
committed
modify manual test to pass with new ordering
1 parent 987cc9e commit 6b328f0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

nipype/interfaces/fsl/tests/test_preprocess.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -455,17 +455,17 @@ def test_applywarp():
455455
field_file = reffile,
456456
**{name : settings[1]})
457457
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,
461461
settings[1],reffile)
462462
else:
463463
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])
469469
yield assert_equal, awarp.cmdline, realcmd
470470

471471
awarp = fsl.ApplyWarp(in_file = infile,

0 commit comments

Comments
 (0)