From 0a5bf5fec39f10dcc591b4732ceb176d9a416401 Mon Sep 17 00:00:00 2001 From: ncullen93 Date: Sat, 18 May 2024 13:00:30 +0200 Subject: [PATCH] fix test error --- tests/test_registration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_registration.py b/tests/test_registration.py index 6a12eae9..f0b4c550 100644 --- a/tests/test_registration.py +++ b/tests/test_registration.py @@ -51,8 +51,8 @@ def test_example(self): fixed=fixed, moving=moving, transformlist=mytx["fwdtransforms"] ) self.assertEqual(mywarpedimage.pixeltype, moving.pixeltype) - self.assertTrue(ants.ants_image.image_physical_space_consistency(fixed, mywarpedimage, - 0.0001, datatype = False)) + self.assertTrue(ants.image_physical_space_consistency(fixed, mywarpedimage, + 0.0001, datatype = False)) # Call with float precision for transforms, but should still return input type mywarpedimage2 = ants.apply_transforms(