We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba15d5f commit 2537030Copy full SHA for 2537030
nipype/interfaces/fsl/tests/test_preprocess.py
@@ -7,6 +7,7 @@
7
8
import os
9
import tempfile
10
+from copy import deepcopy
11
12
import pytest
13
from nipype.utils.filemanip import split_filename, filename_to_list
@@ -236,11 +237,11 @@ def test_flirt(setup_flirt):
236
237
assert flirter.cmdline == realcmd
238
239
# test apply_xfm option
- axfm = flirter
240
+ axfm = deepcopy(flirter)
241
axfm.inputs.apply_xfm = True
242
# in_matrix_file or uses_qform must be defined
243
with pytest.raises(RuntimeError): axfm.cmdline
- axfm2 = axfm
244
+ axfm2 = deepcopy(axfm)
245
# test uses_qform
246
axfm.inputs.uses_qform = True
247
assert axfm.cmdline == (realcmd + ' -applyxfm -usesqform')
0 commit comments