Skip to content

Commit

Permalink
Update nitransforms/tests/test_surface.py
Browse files Browse the repository at this point in the history
Co-authored-by: Oscar Esteban <[email protected]>
  • Loading branch information
Shotgunosine and oesteban authored Jun 22, 2024
1 parent f9cabec commit a4d6df2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nitransforms/tests/test_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def test_SurfaceCoordinateTransform(testdata_path):
sct = SurfaceCoordinateTransform(fslr_sphere, pial)

# test loading from filenames
sct = SurfaceCoordinateTransform(sphere_reg, pial)
sctf = SurfaceCoordinateTransform.from_filename(reference_path=sphere_reg_path,
moving_path=pial_path)
sct = SurfaceCoordinateTransform(pial, sphere_reg)
sctf = SurfaceCoordinateTransform.from_filename(reference_path=pial_path,
moving_path=sphere_reg_path)
assert sct == sctf

# test mapping
Expand Down

0 comments on commit a4d6df2

Please sign in to comment.