Skip to content

Commit

Permalink
fix wrong indent
Browse files Browse the repository at this point in the history
  • Loading branch information
afrendeiro committed Dec 7, 2023
1 parent 2c27ee6 commit 3d2da1e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lazyslide/wsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3d2da1e

Please sign in to comment.