File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
nipype/interfaces/ants/tests Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 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
44from nipype .interfaces .ants import registration
55import os
66import pytest
77
88def 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 ()
You can’t perform that action at this time.
0 commit comments