Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reenabled openslide converter #78

Merged
merged 1 commit into from
May 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
from bq.image_service.controllers.converter_base import ConverterBase, Format
from .converter_imgcnv import ConverterImgcnv

#try:
# import openslide
# from openslide import deepzoom
#except (ImportError, OSError):
# pass
try:
import openslide
from openslide import deepzoom
except (ImportError, OSError):
pass

import logging
log = logging.getLogger('bq.image_service.converter_openslide')
Expand Down Expand Up @@ -122,7 +122,7 @@ def supported(cls, token, **kw):
'''return True if the input file format is supported'''
if not cls.installed:
return False
return False #!!! TODO: re-enable
#return False #!!! TODO: re-enable
ifnm = token.first_input_file()
log.debug('Supported for: %s', ifnm )
#if token.is_multifile_series() is True:
Expand Down