From 4548a07ce809f5d960123ad38a761a485cf4956b Mon Sep 17 00:00:00 2001 From: Reza Date: Fri, 8 Sep 2023 16:25:40 -0700 Subject: [PATCH] increased the error margin a registration test --- tests/unit/test_image_registration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_image_registration.py b/tests/unit/test_image_registration.py index 3f710e5..e47b773 100644 --- a/tests/unit/test_image_registration.py +++ b/tests/unit/test_image_registration.py @@ -93,7 +93,7 @@ def test_register_affine(self): np.testing.assert_array_less( np.linalg.norm(get_nifti_data(output) - fixed_data) / np.linalg.norm(get_nifti_data(output) - moving_data), - 0.4, + 0.45, ) moving2_path = self.get_image_path('moving2.nii.gz')