From 3de1ed97c62bfc147cd14d07a47f2fbc81dfe2e2 Mon Sep 17 00:00:00 2001 From: Felix Schnabel Date: Mon, 30 Jan 2023 20:20:08 +0100 Subject: [PATCH] Formatting Signed-off-by: Felix Schnabel --- tests/test_itk_torch_affine_matrix_bridge.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/test_itk_torch_affine_matrix_bridge.py b/tests/test_itk_torch_affine_matrix_bridge.py index 5127732f5c6..edfb322d881 100644 --- a/tests/test_itk_torch_affine_matrix_bridge.py +++ b/tests/test_itk_torch_affine_matrix_bridge.py @@ -40,6 +40,7 @@ key = "copd1_highres_INSP_STD_COPD_img" FILE_PATH = os.path.join(os.path.dirname(__file__), "testing_data", f"{key}.nii.gz") + def remove_border(image): """ MONAI seems to have different behavior in the borders of the image than ITK. @@ -67,12 +68,7 @@ def setUp(self): if not os.path.exists(n): with skip_if_downloading_fails(): data_spec = testing_data_config("images", f"{k}") - download_url( - data_spec["url"], - n, - hash_val=data_spec["hash_val"], - hash_type=data_spec["hash_type"], - ) + download_url(data_spec["url"], n, hash_val=data_spec["hash_val"], hash_type=data_spec["hash_type"]) @parameterized.expand(TESTS) def test_setting_affine_parameters(self, filepath):