File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def test_ident_distances(tmpdir):
2121 dist_ident = m .ComputeMeshWarp ()
2222 dist_ident .inputs .surface1 = in_surf
2323 dist_ident .inputs .surface2 = in_surf
24- dist_ident .inputs .out_file = tmpdir .join ('distance.npy' )
24+ dist_ident .inputs .out_file = tmpdir .join ('distance.npy' ). strpath
2525 res = dist_ident .run ()
2626 assert res .outputs .distance == 0.0
2727
@@ -35,7 +35,7 @@ def test_trans_distances(tmpdir):
3535 from ...interfaces .vtkbase import tvtk
3636
3737 in_surf = example_data ('surf01.vtk' )
38- warped_surf = tmpdir .join ('warped.vtk' )
38+ warped_surf = tmpdir .join ('warped.vtk' ). strpath
3939
4040 inc = np .array ([0.7 , 0.3 , - 0.2 ])
4141
@@ -51,7 +51,7 @@ def test_trans_distances(tmpdir):
5151 dist = m .ComputeMeshWarp ()
5252 dist .inputs .surface1 = in_surf
5353 dist .inputs .surface2 = warped_surf
54- dist .inputs .out_file = tmpdir .join ('distance.npy' )
54+ dist .inputs .out_file = tmpdir .join ('distance.npy' ). strpath
5555 res = dist .run ()
5656 assert np .allclose (res .outputs .distance , np .linalg .norm (inc ), 4 )
5757 dist .inputs .weighting = 'area'
You can’t perform that action at this time.
0 commit comments