large-image-source-bioformats 1.27.5.dev55__tar.gz → 1.27.5.dev61__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/PKG-INFO +1 -1
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/large_image_source_bioformats/__init__.py +14 -2
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/large_image_source_bioformats.egg-info/PKG-INFO +1 -1
- large-image-source-bioformats-1.27.5.dev61/large_image_source_bioformats.egg-info/requires.txt +5 -0
- large-image-source-bioformats-1.27.5.dev55/large_image_source_bioformats.egg-info/requires.txt +0 -5
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/LICENSE +0 -0
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/README.rst +0 -0
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/large_image_source_bioformats/girder_source.py +0 -0
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/large_image_source_bioformats.egg-info/SOURCES.txt +0 -0
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/large_image_source_bioformats.egg-info/dependency_links.txt +0 -0
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/large_image_source_bioformats.egg-info/entry_points.txt +0 -0
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/large_image_source_bioformats.egg-info/top_level.txt +0 -0
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/pyproject.toml +0 -0
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/setup.cfg +0 -0
- {large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/setup.py +0 -0
|
@@ -61,8 +61,7 @@ _openImages = []
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
# Default to ignoring files with no extension and some specific extensions.
|
|
64
|
-
config.ConfigValues['source_bioformats_ignored_names'] =
|
|
65
|
-
r'(^[^.]*|\.(jpg|jpeg|jpe|png|tif|tiff|ndpi|nd2|ome|nc|json|isyntax|mrxs|zarr(\.db|\.zip)))$'
|
|
64
|
+
config.ConfigValues['source_bioformats_ignored_names'] = r'(^[^.]*|\.(jpg|jpeg|jpe|png|tif|tiff|ndpi|nd2|ome|nc|json|isyntax|mrxs|zip|zarr(\.db|\.zip)))$' # noqa
|
|
66
65
|
|
|
67
66
|
|
|
68
67
|
def _monitor_thread():
|
|
@@ -215,6 +214,7 @@ class BioformatsFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
215
214
|
if not _startJavabridge(self.logger):
|
|
216
215
|
msg = 'File cannot be opened by bioformats reader because javabridge failed to start'
|
|
217
216
|
raise TileSourceError(msg)
|
|
217
|
+
self.addKnownExtensions()
|
|
218
218
|
|
|
219
219
|
self._tileLock = threading.RLock()
|
|
220
220
|
|
|
@@ -699,6 +699,18 @@ class BioformatsFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
699
699
|
javabridge.detach()
|
|
700
700
|
return large_image.tilesource.base._imageToPIL(image)
|
|
701
701
|
|
|
702
|
+
@classmethod
|
|
703
|
+
def addKnownExtensions(cls):
|
|
704
|
+
# This starts javabridge/bioformats if needed
|
|
705
|
+
_getBioformatsVersion()
|
|
706
|
+
if not hasattr(cls, '_addedExtensions'):
|
|
707
|
+
cls._addedExtensions = True
|
|
708
|
+
cls.extensions = cls.extensions.copy()
|
|
709
|
+
for dotext in bioformats.READABLE_FORMATS:
|
|
710
|
+
ext = dotext.strip('.')
|
|
711
|
+
if ext not in cls.extensions:
|
|
712
|
+
cls.extensions[ext] = SourcePriority.IMPLICIT
|
|
713
|
+
|
|
702
714
|
|
|
703
715
|
def open(*args, **kwargs):
|
|
704
716
|
"""
|
{large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/LICENSE
RENAMED
|
File without changes
|
{large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/setup.cfg
RENAMED
|
File without changes
|
{large-image-source-bioformats-1.27.5.dev55 → large-image-source-bioformats-1.27.5.dev61}/setup.py
RENAMED
|
File without changes
|