Skip to content

Commit

Permalink
vqdang#89 UPD: add remain ext to openslide filter
Browse files Browse the repository at this point in the history
  • Loading branch information
vqdang committed Jan 16, 2021
1 parent 4978aa5 commit 0845678
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion misc/wsi_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,14 @@ def get_full_img(self, read_mag=None, read_mpp=None):


def get_file_handler(path, backend):
if backend in [".svs", ".ndpi"]:
if backend in [
'.svs', '.tif',
'.vms', '.vmu', '.ndpi',
'.scn', '.mrxs', '.tiff',
'.svslide',
'.bif',
]:
return OpenSlideHandler(path)
else:
assert False, "Unknown WSI format `%s`" % backend

0 comments on commit 0845678

Please sign in to comment.