large-image-source-bioformats 1.32.4.dev8__py3-none-any.whl → 1.32.4.dev12__py3-none-any.whl
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.
Potentially problematic release.
This version of large-image-source-bioformats might be problematic. Click here for more details.
- large_image_source_bioformats/__init__.py +18 -12
- {large_image_source_bioformats-1.32.4.dev8.dist-info → large_image_source_bioformats-1.32.4.dev12.dist-info}/METADATA +3 -3
- large_image_source_bioformats-1.32.4.dev12.dist-info/RECORD +8 -0
- large_image_source_bioformats-1.32.4.dev8.dist-info/RECORD +0 -8
- {large_image_source_bioformats-1.32.4.dev8.dist-info → large_image_source_bioformats-1.32.4.dev12.dist-info}/WHEEL +0 -0
- {large_image_source_bioformats-1.32.4.dev8.dist-info → large_image_source_bioformats-1.32.4.dev12.dist-info}/entry_points.txt +0 -0
- {large_image_source_bioformats-1.32.4.dev8.dist-info → large_image_source_bioformats-1.32.4.dev12.dist-info}/licenses/LICENSE +0 -0
- {large_image_source_bioformats-1.32.4.dev8.dist-info → large_image_source_bioformats-1.32.4.dev12.dist-info}/top_level.txt +0 -0
|
@@ -234,6 +234,8 @@ class BioformatsFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
234
234
|
raise TileSourceError(msg)
|
|
235
235
|
self.addKnownExtensions()
|
|
236
236
|
|
|
237
|
+
self._tileLock = threading.RLock()
|
|
238
|
+
|
|
237
239
|
try:
|
|
238
240
|
with _javabridgeAttachLock:
|
|
239
241
|
javabridge.attach()
|
|
@@ -673,16 +675,19 @@ class BioformatsFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
673
675
|
javabridge.attach()
|
|
674
676
|
try:
|
|
675
677
|
if width > 0 and height > 0:
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
678
|
+
with self._tileLock:
|
|
679
|
+
tile = self._bioimage.read(
|
|
680
|
+
c=fc, z=fz, t=ft,
|
|
681
|
+
series=fseries['series'][seriesLevel],
|
|
682
|
+
rescale=False, # return internal data types
|
|
683
|
+
XYWH=(offsetx, offsety, width, height))
|
|
680
684
|
else:
|
|
681
685
|
# We need the same dtype, so read 1x1 at 0x0
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
+
with self._tileLock:
|
|
687
|
+
tile = self._bioimage.read(
|
|
688
|
+
c=fc, z=fz, t=ft, series=fseries['series'][seriesLevel],
|
|
689
|
+
rescale=False, # return internal data types
|
|
690
|
+
XYWH=(0, 0, 1, 1))
|
|
686
691
|
tile = np.zeros(tuple([0, 0] + list(tile.shape[2:])), dtype=tile.dtype)
|
|
687
692
|
format = TILE_FORMAT_NUMPY
|
|
688
693
|
except javabridge.JavaException as exc:
|
|
@@ -742,10 +747,11 @@ class BioformatsFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
742
747
|
with _javabridgeAttachLock:
|
|
743
748
|
javabridge.attach()
|
|
744
749
|
try:
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
750
|
+
with self._tileLock:
|
|
751
|
+
image = self._bioimage.read(
|
|
752
|
+
series=series,
|
|
753
|
+
rescale=False, # return internal data types
|
|
754
|
+
XYWH=(0, 0, info['sizeX'], info['sizeY']))
|
|
749
755
|
except javabridge.JavaException as exc:
|
|
750
756
|
es = javabridge.to_string(exc.throwable)
|
|
751
757
|
raise TileSourceError('Failed to get Bioformat series (%s, %r).' % (es, (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: large-image-source-bioformats
|
|
3
|
-
Version: 1.32.4.
|
|
3
|
+
Version: 1.32.4.dev12
|
|
4
4
|
Summary: An bioformats tilesource for large_image.
|
|
5
5
|
Home-page: https://github.com/girder/large_image
|
|
6
6
|
Author: Kitware, Inc.
|
|
@@ -18,10 +18,10 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
18
18
|
Requires-Python: >=3.8
|
|
19
19
|
Description-Content-Type: text/x-rst
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: large-image>=1.32.4.
|
|
21
|
+
Requires-Dist: large-image>=1.32.4.dev12
|
|
22
22
|
Requires-Dist: python-bioformats>=1.5.2
|
|
23
23
|
Provides-Extra: girder
|
|
24
|
-
Requires-Dist: girder-large-image>=1.32.4.
|
|
24
|
+
Requires-Dist: girder-large-image>=1.32.4.dev12; extra == "girder"
|
|
25
25
|
Dynamic: author
|
|
26
26
|
Dynamic: author-email
|
|
27
27
|
Dynamic: classifier
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
large_image_source_bioformats/__init__.py,sha256=mO0uF67YoJSjzdvmdnzlw259FU7M6g7s-Iuj9X2QNdA,34886
|
|
2
|
+
large_image_source_bioformats/girder_source.py,sha256=t0X1P0m4qMsRklpdxoPH-yqgHByMvQIzFJ4qRIUykVI,1355
|
|
3
|
+
large_image_source_bioformats-1.32.4.dev12.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
4
|
+
large_image_source_bioformats-1.32.4.dev12.dist-info/METADATA,sha256=8LHa_OIWRpo_DDYAfN5l3reLw5-9JMZ37bUp_4kb2sg,1319
|
|
5
|
+
large_image_source_bioformats-1.32.4.dev12.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
6
|
+
large_image_source_bioformats-1.32.4.dev12.dist-info/entry_points.txt,sha256=xgIbKr53QhQkyRFkr87fkagfPWweeqhHHekUEMrcpF8,202
|
|
7
|
+
large_image_source_bioformats-1.32.4.dev12.dist-info/top_level.txt,sha256=e0enjlcFXwPi638IhE71Rk5-eeriA7W3M3IsQ6yH3RI,30
|
|
8
|
+
large_image_source_bioformats-1.32.4.dev12.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
large_image_source_bioformats/__init__.py,sha256=ufynSkQJtB5ReNIAOE9srTExVFK5NL4GBUzi_2LiUUA,34651
|
|
2
|
-
large_image_source_bioformats/girder_source.py,sha256=t0X1P0m4qMsRklpdxoPH-yqgHByMvQIzFJ4qRIUykVI,1355
|
|
3
|
-
large_image_source_bioformats-1.32.4.dev8.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
4
|
-
large_image_source_bioformats-1.32.4.dev8.dist-info/METADATA,sha256=40pAIl5zEpfjbDrqCnSHpi3fxQJG9g1Nxp1f4OvPUlA,1316
|
|
5
|
-
large_image_source_bioformats-1.32.4.dev8.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
6
|
-
large_image_source_bioformats-1.32.4.dev8.dist-info/entry_points.txt,sha256=xgIbKr53QhQkyRFkr87fkagfPWweeqhHHekUEMrcpF8,202
|
|
7
|
-
large_image_source_bioformats-1.32.4.dev8.dist-info/top_level.txt,sha256=e0enjlcFXwPi638IhE71Rk5-eeriA7W3M3IsQ6yH3RI,30
|
|
8
|
-
large_image_source_bioformats-1.32.4.dev8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|