Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
  • Loading branch information
Shadow-Devil committed Jan 30, 2023
1 parent 5d039a7 commit 7b1e62f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/test_itk_torch_affine_matrix_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 7b1e62f

Please sign in to comment.