Skip to content

Commit

Permalink
DCO Remediation Commit for Nikolas Schmitz <[email protected]>
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
NikolasSchmitz committed Mar 27, 2024
1 parent 76d84f2 commit 1c10112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monai/data/wsi_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ def get_mpp(self, wsi, level: int) -> tuple[float, float]:

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

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

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

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

0 comments on commit 1c10112

Please sign in to comment.