Skip to content

Commit 9d1b661

Browse files
committed
fix: string joining
1 parent 2be737d commit 9d1b661

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/fsl/tests/test_preprocess.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def test_flirt(setup_flirt):
234234
realcmd = 'flirt -in %s -ref %s -out %s -omat %s' % (infile, reffile,
235235
outfile, outmat)
236236
assert flirter.cmdline == realcmd
237-
237+
238238
# test apply_xfm option
239239
axfm = flirter
240240
axfm.inputs.apply_xfm = True
@@ -243,10 +243,10 @@ def test_flirt(setup_flirt):
243243
axfm2 = axfm
244244
# test uses_qform
245245
axfm.inputs.uses_qform = True
246-
assert axfm.cmdline == (realcmd += ' -applyxfm -usesqform')
246+
assert axfm.cmdline == (realcmd + ' -applyxfm -usesqform')
247247
# test in_matrix_file
248248
axfm2.inputs.in_matrix_file = reffile
249-
assert axfm2.cmdline == (realcmd += ' -applyxfm -init %s' % reffile)
249+
assert axfm2.cmdline == (realcmd + ' -applyxfm -init %s' % reffile)
250250

251251

252252
_, tmpfile = tempfile.mkstemp(suffix='.nii', dir=tmpdir)

0 commit comments

Comments
 (0)