Skip to content

Commit 49832d9

Browse files
committed
fixed a test
1 parent 96c57c9 commit 49832d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/spm/tests/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ def test_apply_transform():
3535
applymat.inputs.in_file = moving
3636
applymat.inputs.mat = mat
3737
scrpt = applymat._make_matlab_command(None)
38-
expected = 'img_space = spm_get_space(infile);'
38+
expected = '[p n e v] = spm_fileparts(V.fname);'
3939
assert_equal( expected in scrpt, True)
40-
expected = 'spm_get_space(infile, M * img_space);'
40+
expected = 'V.mat = transform.M * V.mat;'
4141
assert_equal(expected in scrpt, True)
4242

4343
def test_reslice():

0 commit comments

Comments
 (0)