Skip to content

Commit 2d5e2d3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2986d2e commit 2d5e2d3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

monai/tests/test_clinical_preprocessing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
# See the License for the specific language governing permissions and
1010
# limitations under the License.
1111

12-
import tempfile
13-
from pathlib import Path
1412

1513
import numpy as np
1614
import pytest
@@ -109,4 +107,4 @@ def test_preprocess_dicom_series_integration(tmp_path):
109107
for modality in ["CT", "MRI"]:
110108
result = preprocess_dicom_series(str(test_file), modality)
111109
assert result is not None
112-
assert hasattr(result, "shape")
110+
assert hasattr(result, "shape")

monai/transforms/clinical_preprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ def preprocess_dicom_series(path: str, modality: str) -> Any:
109109
"get_ct_preprocessing_pipeline",
110110
"get_mri_preprocessing_pipeline",
111111
"preprocess_dicom_series",
112-
]
112+
]

0 commit comments

Comments
 (0)