large-image-source-nd2 1.32.12.dev4__py3-none-any.whl → 1.33.6a155__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.
@@ -321,9 +321,15 @@ class ND2FileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
321
321
  fc //= self._nd2sizes[axis]
322
322
  tileframe = tileframe[fp // fc]
323
323
  fp = fp % fc
324
- with self._tileLock:
325
- # Have dask use single-threaded since we are using a lock anyway.
326
- tile = tileframe[y0:y1:step, x0:x1:step].compute(scheduler='single-threaded').copy()
324
+ # We had done
325
+ # with self._tileLock:
326
+ # # Have dask use single-threaded since we are using a lock anyway.
327
+ # tile = tileframe[y0:y1:step, x0:x1:step].compute(scheduler='single-threaded').copy()
328
+ # but this is no longer necessary. We could limit the number of thread
329
+ # workers used by dask, but this doesn't actually change much. We
330
+ # could also use scheduler='processes', but this fails to close handles
331
+ # a certain way and prints a lot of warnings and is slower.
332
+ tile = tileframe[y0:y1:step, x0:x1:step].compute().copy()
327
333
  return self._outputTile(tile, TILE_FORMAT_NUMPY, x, y, z,
328
334
  pilImageAllowed, numpyAllowed, **kwargs)
329
335
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: large-image-source-nd2
3
- Version: 1.32.12.dev4
3
+ Version: 1.33.6a155
4
4
  Summary: An nd2 (NIS Elements) tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
@@ -9,20 +9,19 @@ License: Apache-2.0
9
9
  Keywords: large_image,tile source
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.8
13
12
  Classifier: Programming Language :: Python :: 3.9
14
13
  Classifier: Programming Language :: Python :: 3.10
15
14
  Classifier: Programming Language :: Python :: 3.11
16
15
  Classifier: Programming Language :: Python :: 3.12
17
16
  Classifier: Programming Language :: Python :: 3.13
18
- Requires-Python: >=3.8
17
+ Requires-Python: >=3.9
19
18
  Description-Content-Type: text/x-rst
20
19
  License-File: LICENSE
21
- Requires-Dist: large-image>=1.32.12.dev4
20
+ Requires-Dist: large-image>=1.33.6.a155
22
21
  Requires-Dist: dask[array]
23
22
  Requires-Dist: nd2[legacy]>=0.2.3
24
23
  Provides-Extra: girder
25
- Requires-Dist: girder-large-image>=1.32.12.dev4; extra == "girder"
24
+ Requires-Dist: girder-large-image>=1.33.6.a155; extra == "girder"
26
25
  Dynamic: author
27
26
  Dynamic: author-email
28
27
  Dynamic: classifier
@@ -0,0 +1,8 @@
1
+ large_image_source_nd2/__init__.py,sha256=irl_6zkyYc5H61bg2L1pgo8QTI25E3er8kYX-Nipnsg,13385
2
+ large_image_source_nd2/girder_source.py,sha256=wjT_KZR5kaTRZpDiaaR8A2_PHhOui3jooE6Rq6urAWY,1110
3
+ large_image_source_nd2-1.33.6a155.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
4
+ large_image_source_nd2-1.33.6a155.dist-info/METADATA,sha256=8U2OAcjcGme46OLRHzXJzrCqx3K2kMcrjjWf6j1Zj4g,1295
5
+ large_image_source_nd2-1.33.6a155.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ large_image_source_nd2-1.33.6a155.dist-info/entry_points.txt,sha256=M5DIYSmeNIauNILjZANX1Un3p_0y2uTdhSvnC4EdmrM,160
7
+ large_image_source_nd2-1.33.6a155.dist-info/top_level.txt,sha256=LQkbldhJSBrb5XBjC8NDDCM3ro9EcpLyXlYEr6F4_Ho,23
8
+ large_image_source_nd2-1.33.6a155.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- large_image_source_nd2/__init__.py,sha256=cBldHfnzD2c6jQEcgTedrouh2yMNpQrb2qReMKYlrvg,12982
2
- large_image_source_nd2/girder_source.py,sha256=wjT_KZR5kaTRZpDiaaR8A2_PHhOui3jooE6Rq6urAWY,1110
3
- large_image_source_nd2-1.32.12.dev4.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
4
- large_image_source_nd2-1.32.12.dev4.dist-info/METADATA,sha256=CkwE7qGTzwwRiYL8od5vcQPqiuhkotvirOzyWzH7in0,1349
5
- large_image_source_nd2-1.32.12.dev4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- large_image_source_nd2-1.32.12.dev4.dist-info/entry_points.txt,sha256=M5DIYSmeNIauNILjZANX1Un3p_0y2uTdhSvnC4EdmrM,160
7
- large_image_source_nd2-1.32.12.dev4.dist-info/top_level.txt,sha256=LQkbldhJSBrb5XBjC8NDDCM3ro9EcpLyXlYEr6F4_Ho,23
8
- large_image_source_nd2-1.32.12.dev4.dist-info/RECORD,,