large-image-source-bioformats 1.26.3.dev14__tar.gz → 1.26.3.dev22__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.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/PKG-INFO +1 -1
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/large_image_source_bioformats/__init__.py +13 -1
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/large_image_source_bioformats.egg-info/PKG-INFO +1 -1
- large-image-source-bioformats-1.26.3.dev22/large_image_source_bioformats.egg-info/requires.txt +5 -0
- large-image-source-bioformats-1.26.3.dev14/large_image_source_bioformats.egg-info/requires.txt +0 -5
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/LICENSE +0 -0
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/README.rst +0 -0
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/large_image_source_bioformats/girder_source.py +0 -0
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/large_image_source_bioformats.egg-info/SOURCES.txt +0 -0
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/large_image_source_bioformats.egg-info/dependency_links.txt +0 -0
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/large_image_source_bioformats.egg-info/entry_points.txt +0 -0
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/large_image_source_bioformats.egg-info/top_level.txt +0 -0
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/pyproject.toml +0 -0
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/setup.cfg +0 -0
- {large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/setup.py +0 -0
|
@@ -26,10 +26,12 @@ import atexit
|
|
|
26
26
|
import logging
|
|
27
27
|
import math
|
|
28
28
|
import os
|
|
29
|
+
import pathlib
|
|
29
30
|
import re
|
|
30
31
|
import threading
|
|
31
32
|
import types
|
|
32
33
|
import weakref
|
|
34
|
+
import zipfile
|
|
33
35
|
from importlib.metadata import PackageNotFoundError
|
|
34
36
|
from importlib.metadata import version as _importlib_version
|
|
35
37
|
|
|
@@ -53,6 +55,7 @@ bioformats = None
|
|
|
53
55
|
javabridge = None
|
|
54
56
|
|
|
55
57
|
_javabridgeStarted = None
|
|
58
|
+
_bioformatsVersion = None
|
|
56
59
|
_openImages = []
|
|
57
60
|
|
|
58
61
|
|
|
@@ -110,7 +113,7 @@ def _reduceLogging():
|
|
|
110
113
|
|
|
111
114
|
|
|
112
115
|
def _startJavabridge(logger):
|
|
113
|
-
global _javabridgeStarted
|
|
116
|
+
global _javabridgeStarted, _bioformatsVersion
|
|
114
117
|
|
|
115
118
|
if _javabridgeStarted is None:
|
|
116
119
|
# Only import these when first asked. They are slow to import.
|
|
@@ -118,6 +121,15 @@ def _startJavabridge(logger):
|
|
|
118
121
|
global javabridge
|
|
119
122
|
if bioformats is None:
|
|
120
123
|
import bioformats
|
|
124
|
+
try:
|
|
125
|
+
_bioformatsVersion = zipfile.ZipFile(
|
|
126
|
+
pathlib.Path(bioformats.__file__).parent /
|
|
127
|
+
'jars/bioformats_package.jar',
|
|
128
|
+
).open('META-INF/MANIFEST.MF').read(8192).split(
|
|
129
|
+
b'Implementation-Version: ')[1].split()[0].decode()
|
|
130
|
+
logger.info('Bioformats.jar version: %s', _bioformatsVersion)
|
|
131
|
+
except Exception:
|
|
132
|
+
pass
|
|
121
133
|
if javabridge is None:
|
|
122
134
|
import javabridge
|
|
123
135
|
|
{large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/LICENSE
RENAMED
|
File without changes
|
{large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/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.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/setup.cfg
RENAMED
|
File without changes
|
{large-image-source-bioformats-1.26.3.dev14 → large-image-source-bioformats-1.26.3.dev22}/setup.py
RENAMED
|
File without changes
|