Skip to content

Commit

Permalink
format with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczmarj committed Jul 10, 2024
1 parent 27ac8ec commit 7a27043
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion wsinfer/cli/convert_csv_to_sbubmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
import pandas as pd
import tqdm

from ..wsi import get_wsi_cls
from ..wsi import CanReadRegion
from ..wsi import get_wsi_cls


def _box_to_polygon(
Expand Down
2 changes: 1 addition & 1 deletion wsinfer/patchlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
import numpy.typing as npt
from PIL import Image

from ..wsi import get_wsi_cls
from ..wsi import _validate_wsi_directory
from ..wsi import get_avg_mpp
from ..wsi import get_wsi_cls
from .patch import get_multipolygon_from_binary_arr
from .patch import get_patch_coordinates_within_polygon
from .segment import segment_tissue
Expand Down
2 changes: 0 additions & 2 deletions wsinfer/wsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import logging
from fractions import Fraction
from pathlib import Path
from typing import Literal
from typing import Protocol
from typing import overload

import tifffile
from PIL import Image
Expand Down

0 comments on commit 7a27043

Please sign in to comment.