Skip to content

Commit e214b54

Browse files
committed
unicode_literals
1 parent a1d62ca commit e214b54

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

nipype/interfaces/ants/tests/test_registration.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
2-
# vi: set ft=python sts=4 ts=4 sw=4 et:
3-
2+
# vi: set ft=python sts=4 ts=4 sw=4 et:
3+
from __future__ import unicode_literals
44
from nipype.interfaces.ants import registration
55
import os
66
import pytest
77

88
def test_ants_mand():
9-
filepath = os.path.dirname( os.path.realpath( __file__ ) )
10-
datadir = os.path.realpath(os.path.join(filepath, '../../../testing/data'))
9+
filepath = os.path.dirname( os.path.realpath( __file__ ) )
10+
datadir = os.path.realpath(os.path.join(filepath, '../../../testing/data'))
1111

1212
ants = registration.ANTS()
1313
ants.inputs.transformation_model= "SyN"
1414
ants.inputs.moving_image = [os.path.join(datadir, 'resting.nii')]
1515
ants.inputs.fixed_image = [os.path.join(datadir, 'T1.nii')]
16-
ants.inputs.metric = [u'MI']
16+
ants.inputs.metric = ['MI']
1717

1818
with pytest.raises(ValueError) as er:
1919
ants.run()

0 commit comments

Comments
 (0)