large-image-source-bioformats 1.27.5.dev61__tar.gz → 1.27.5.dev63__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.dev61 → large-image-source-bioformats-1.27.5.dev63}/PKG-INFO +1 -1
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/large_image_source_bioformats/__init__.py +15 -1
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/large_image_source_bioformats.egg-info/PKG-INFO +1 -1
- large-image-source-bioformats-1.27.5.dev63/large_image_source_bioformats.egg-info/requires.txt +5 -0
- large-image-source-bioformats-1.27.5.dev61/large_image_source_bioformats.egg-info/requires.txt +0 -5
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/LICENSE +0 -0
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/README.rst +0 -0
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/large_image_source_bioformats/girder_source.py +0 -0
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/large_image_source_bioformats.egg-info/SOURCES.txt +0 -0
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/large_image_source_bioformats.egg-info/dependency_links.txt +0 -0
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/large_image_source_bioformats.egg-info/entry_points.txt +0 -0
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/large_image_source_bioformats.egg-info/top_level.txt +0 -0
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/pyproject.toml +0 -0
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/setup.cfg +0 -0
- {large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/setup.py +0 -0
|
@@ -221,7 +221,21 @@ class BioformatsFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
221
221
|
try:
|
|
222
222
|
javabridge.attach()
|
|
223
223
|
try:
|
|
224
|
-
self._bioimage = bioformats.ImageReader(largeImagePath)
|
|
224
|
+
self._bioimage = bioformats.ImageReader(largeImagePath, perform_init=False)
|
|
225
|
+
try:
|
|
226
|
+
# So this as a separate step so, if it fails, we can ask to
|
|
227
|
+
# open something that does not exist and bioformats will
|
|
228
|
+
# release some file handles.
|
|
229
|
+
self._bioimage.init_reader()
|
|
230
|
+
except Exception as exc:
|
|
231
|
+
try:
|
|
232
|
+
# Ask to open a file that should never exist
|
|
233
|
+
self._bioimage.rdr.setId('__\0__')
|
|
234
|
+
except Exception:
|
|
235
|
+
pass
|
|
236
|
+
self._bioimage.close()
|
|
237
|
+
self._bioimage = None
|
|
238
|
+
raise exc
|
|
225
239
|
except (AttributeError, OSError) as exc:
|
|
226
240
|
if not os.path.isfile(largeImagePath):
|
|
227
241
|
raise TileSourceFileNotFoundError(largeImagePath) from None
|
{large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/LICENSE
RENAMED
|
File without changes
|
{large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/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.dev61 → large-image-source-bioformats-1.27.5.dev63}/setup.cfg
RENAMED
|
File without changes
|
{large-image-source-bioformats-1.27.5.dev61 → large-image-source-bioformats-1.27.5.dev63}/setup.py
RENAMED
|
File without changes
|