Skip to content

Commit d0961e1

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

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
@@ -106,4 +105,4 @@ def test_preprocess_dicom_series_integration(tmp_path):
106105
for modality in ["CT", "MR", "MRI"]:
107106
result = preprocess_dicom_series(str(test_file), modality)
108107
assert result is not None
109-
assert hasattr(result, "shape")
108+
assert hasattr(result, "shape")

monai/transforms/clinical_preprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ def preprocess_dicom_series(path: str, modality: str) -> Any:
116116
"get_ct_preprocessing_pipeline",
117117
"get_mri_preprocessing_pipeline",
118118
"preprocess_dicom_series",
119-
]
119+
]

0 commit comments

Comments
 (0)