Skip to content

Commit

Permalink
WIP: import typing_extensions.Buffer before import large_image
Browse files Browse the repository at this point in the history
  • Loading branch information
Leengit committed Sep 16, 2024
1 parent a7517fa commit 840e80c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions histomics_stream/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def __call__(self, slide):
# Do the work.
if not re.compile(r"\.zarr$").search(filename):
# create large_image, prioritizing tiff source over openslide
from typing_extensions import Buffer
try:
import large_image_source_tiff

Expand Down Expand Up @@ -1057,6 +1058,7 @@ def read_large_image(
# ChunkLocations.read_large_image._num_chunks += 1

# print(f"{chunk_name} begin {datetime.datetime.now()}")
from typing_extensions import Buffer
import large_image
import large_image_source_tiff

Expand Down

0 comments on commit 840e80c

Please sign in to comment.