From 3d2da1ef47b54b8372558ba7c6aef2dddc4368b5 Mon Sep 17 00:00:00 2001 From: "Andre F. Rendeiro" Date: Thu, 7 Dec 2023 21:18:12 +0100 Subject: [PATCH] fix wrong indent --- lazyslide/wsi.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lazyslide/wsi.py b/lazyslide/wsi.py index a0df12e..4839e5f 100644 --- a/lazyslide/wsi.py +++ b/lazyslide/wsi.py @@ -186,14 +186,15 @@ def get_split_image_indices(image_height, image_width, min_side=20000): class WSI: + def __init__( + self, + image: Path | str, + h5_file: Path | str = None, + reader="auto", # openslide, vips, cucim + ): from .utils import check_wsi_path self.image = check_wsi_path(image) - image: Path | str, - h5_file: Path | str = None, - reader="auto", # openslide, vips, cucim - ): - self.image = Path(image) if h5_file is None: h5_file = self.image.with_suffix(".coords.h5")