Skip to content

Commit a4d6df2

Browse files
Update nitransforms/tests/test_surface.py
Co-authored-by: Oscar Esteban <[email protected]>
1 parent f9cabec commit a4d6df2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nitransforms/tests/test_surface.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ def test_SurfaceCoordinateTransform(testdata_path):
8484
sct = SurfaceCoordinateTransform(fslr_sphere, pial)
8585

8686
# test loading from filenames
87-
sct = SurfaceCoordinateTransform(sphere_reg, pial)
88-
sctf = SurfaceCoordinateTransform.from_filename(reference_path=sphere_reg_path,
89-
moving_path=pial_path)
87+
sct = SurfaceCoordinateTransform(pial, sphere_reg)
88+
sctf = SurfaceCoordinateTransform.from_filename(reference_path=pial_path,
89+
moving_path=sphere_reg_path)
9090
assert sct == sctf
9191

9292
# test mapping

0 commit comments

Comments
 (0)