Skip to content

Commit 2afa6fb

Browse files
pre-commit-ci[bot]NikolasSchmitz
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9d817e7 commit 2afa6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/data/wsi_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ def get_mpp(self, wsi, level: int) -> tuple[float, float]:
10671067
and "tiff.YResolution" in wsi.properties
10681068
and wsi.properties["tiff.YResolution"]
10691069
and wsi.properties["tiff.XResolution"]
1070-
):
1070+
):
10711071
unit = wsi.properties.get("tiff.ResolutionUnit")
10721072
if unit is None:
10731073
warnings.warn("The resolution unit is missing, `micrometer` will be used as default.")

0 commit comments

Comments
 (0)