Skip to content

Commit

Permalink
Fit flake8 issues
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Schnabel <[email protected]>
  • Loading branch information
Shadow-Devil committed Feb 7, 2023
1 parent f9e0545 commit a991f2b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_itk_torch_affine_matrix_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,11 @@
import os
import unittest

from parameterized import parameterized

from monai.data import ITKReader
from monai.utils import optional_import

itk, has_itk = optional_import("itk")
import numpy as np
import torch
from parameterized import parameterized

from monai.data import ITKReader
from monai.data.itk_torch_affine_matrix_bridge import (
create_itk_affine_from_parameters,
image_to_metatensor,
Expand All @@ -32,14 +28,18 @@
monai_affine_resample,
monai_to_itk_affine,
)
from monai.utils import optional_import

itk, has_itk = optional_import("itk")

TESTS = [
"CT_2D_head_fixed.mha",
"CT_2D_head_moving.mha",
# "copd1_highres_INSP_STD_COPD_img.nii.gz"
]
# Download URL:
# SHA-521: 60193cd6ef0cf055c623046446b74f969a2be838444801bd32ad5bedc8a7eeecb343e8a1208769c9c7a711e101c806a3133eccdda7790c551a69a64b9b3701e9
# SHA-521: 60193cd6ef0cf055c623046446b74f969a2be838444801bd32ad5bedc8a7eeec
# b343e8a1208769c9c7a711e101c806a3133eccdda7790c551a69a64b9b3701e9
# TEST_CASE_3D_1 = [
# "copd1_highres_INSP_STD_COPD_img.nii.gz" # https://data.kitware.com/api/v1/file/62a0f067bddec9d0c4175c5a/download
# "copd1_highres_INSP_STD_COPD_img.nii.gz" # https://data.kitware.com/api/v1/item/62a0f045bddec9d0c4175c44/download
Expand Down

0 comments on commit a991f2b

Please sign in to comment.