From 9778064a0352b6a8785fe9f99a236b54f7a00e75 Mon Sep 17 00:00:00 2001 From: alessiamarcolini <98marcolini@gmail.com> Date: Thu, 6 Aug 2020 13:31:59 +0200 Subject: [PATCH] Change docstrings according to CR comments --- src/histolab/tiler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/histolab/tiler.py b/src/histolab/tiler.py index c8d952f43..29bf491dc 100644 --- a/src/histolab/tiler.py +++ b/src/histolab/tiler.py @@ -29,9 +29,9 @@ class Tiler(Protocol): @lru_cache(maxsize=100) def box_mask_thumb(self, slide: Slide) -> np.ndarray: - """Return binary mask at thumbnail dimensions of the box for tiles extraction. + """Return binary mask, at thumbnail level, of the box for tiles extraction. - The mask pixels set to True will be the ones corresponding to the tissue box. + The mask pixels set to True correspond to the tissue box. Parameters ---------- @@ -41,7 +41,7 @@ def box_mask_thumb(self, slide: Slide) -> np.ndarray: Returns ------- np.ndarray - Extraction mask at thumbnail dimensions + Extraction mask at thumbnail level """ return slide.biggest_tissue_box_mask