Skip to content

Commit ae704f3

Browse files
DCO Remediation Commit for Nikolas Schmitz <[email protected]>
I, Nikolas Schmitz <[email protected]>, hereby add my Signed-off-by to this commit: f3e7d03 I, Nikolas Schmitz <[email protected]>, hereby add my Signed-off-by to this commit: 88002e8 I, Nikolas Schmitz <[email protected]>, hereby add my Signed-off-by to this commit: a9fe772 I, Nikolas Schmitz <[email protected]>, hereby add my Signed-off-by to this commit: feac0dc I, Nikolas Schmitz <[email protected]>, hereby add my Signed-off-by to this commit: 8194026 I, Nikolas Schmitz <[email protected]>, hereby add my Signed-off-by to this commit: 42c4813 Signed-off-by: Nikolas Schmitz <[email protected]> Signed-off-by: Nikolas Schmitz <[email protected]>
1 parent 5bb531e commit ae704f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monai/data/wsi_reader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ def get_mpp(self, wsi, level: int) -> tuple[float, float]:
763763

764764
raise ValueError("`mpp` cannot be obtained for this file. Please use `level` instead.")
765765

766-
def get_wsi_at_mpp(self, wsi, mpp: tuple, atol: float = 0.00, rtol: float = 0.05) -> np.ndarray:
766+
def get_wsi_at_mpp(self, wsi, mpp: tuple, atol: float = 0.00, rtol: float = 0.05) -> Any:
767767
"""
768768
Returns the representation of the whole slide image at a given micro-per-pixel (mpp) resolution.
769769
The optional tolerance parameters are considered at the level whose mpp value is closest to the one provided by the user.
@@ -1311,7 +1311,7 @@ def get_mpp(self, wsi, level: int) -> tuple[float, float]:
13111311

13121312
raise ValueError("`mpp` cannot be obtained for this file. Please use `level` instead.")
13131313

1314-
def get_wsi_at_mpp(self, wsi, mpp: tuple, atol: float = 0.00, rtol: float = 0.05) -> np.array:
1314+
def get_wsi_at_mpp(self, wsi, mpp: tuple, atol: float = 0.00, rtol: float = 0.05) -> np.ndarray:
13151315
"""
13161316
Returns the representation of the whole slide image at a given micro-per-pixel (mpp) resolution.
13171317
The optional tolerance parameters are considered at the level whose mpp value is closest to the one provided by the user.

0 commit comments

Comments
 (0)