Skip to content

Commit 9daef2c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5a4fbb5 commit 9daef2c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

monai/tests/test_clinical_preprocessing.py

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

12-
from pathlib import Path
1312
from unittest.mock import Mock, patch
1413

1514
import numpy as np
@@ -110,4 +109,4 @@ def test_preprocess_dicom_series_integration(tmp_path):
110109
for modality in ["CT", "MR", "MRI"]:
111110
result = preprocess_dicom_series(str(test_file), modality)
112111
assert result is not None
113-
assert hasattr(result, "shape")
112+
assert hasattr(result, "shape")

monai/transforms/clinical_preprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@ def preprocess_dicom_series(path: str, modality: str) -> MetaTensor:
112112
"get_ct_preprocessing_pipeline",
113113
"get_mri_preprocessing_pipeline",
114114
"preprocess_dicom_series",
115-
]
115+
]

0 commit comments

Comments
 (0)