Skip to content

Commit bfa8b4b

Browse files
committed
Fix ZarrTIFFWSIReader code.
1 parent 26cd2df commit bfa8b4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tiatoolbox/wsicore/wsireader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4301,7 +4301,7 @@ def __init__(
43014301
)
43024302

43034303
def _canonical_shape(self: ZarrTIFFWSIReader, shape: IntPair) -> tuple:
4304-
# Copy/paste from TIFFWSIReader._canonical_shape, clean it up
4304+
# Copy/paste from TIFFWSIReader, clean it up
43054305
"""Make a level shape tuple in YXS order.
43064306
43074307
Args:
@@ -4368,7 +4368,7 @@ def read_rect(
43684368
coord_space: str = "baseline",
43694369
**kwargs: dict, # noqa: ARG002
43704370
) -> np.ndarray:
4371-
# Copy/paste from TIFFWSIReader._canonical_shape, clean it up
4371+
# Copy/paste from TIFFWSIReader, clean it up
43724372
"""Read a region of the whole slide image at a location and size.
43734373
43744374
Location is in terms of the baseline image (level 0 / maximum
@@ -4605,7 +4605,7 @@ def read_bounds(
46054605
coord_space: str = "baseline",
46064606
**kwargs: dict,
46074607
) -> np.ndarray:
4608-
# Copy/paste from TIFFWSIReader._canonical_shape, clean it up
4608+
# Copy/paste from TIFFWSIReader, clean it up
46094609
"""Read a region of the whole slide image within given bounds.
46104610
46114611
Bounds are in terms of the baseline image (level 0 / maximum

0 commit comments

Comments
 (0)