Skip to content

Commit 85720ca

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

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
@@ -102,4 +101,4 @@ def test_preprocess_dicom_series_integration(tmp_path):
102101
for modality in ["CT", "MRI"]:
103102
result = preprocess_dicom_series(str(test_file), modality)
104103
assert result is not None
105-
assert hasattr(result, "shape")
104+
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)