large-image-source-nd2 1.27.5.dev4__py3-none-any.whl → 1.30.7.dev10__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-nd2 might be problematic. Click here for more details.
- large_image_source_nd2/__init__.py +5 -1
- {large_image_source_nd2-1.27.5.dev4.dist-info → large_image_source_nd2-1.30.7.dev10.dist-info}/METADATA +19 -5
- large_image_source_nd2-1.30.7.dev10.dist-info/RECORD +8 -0
- {large_image_source_nd2-1.27.5.dev4.dist-info → large_image_source_nd2-1.30.7.dev10.dist-info}/WHEEL +1 -1
- large_image_source_nd2-1.27.5.dev4.dist-info/RECORD +0 -8
- {large_image_source_nd2-1.27.5.dev4.dist-info → large_image_source_nd2-1.30.7.dev10.dist-info}/LICENSE +0 -0
- {large_image_source_nd2-1.27.5.dev4.dist-info → large_image_source_nd2-1.30.7.dev10.dist-info}/entry_points.txt +0 -0
- {large_image_source_nd2-1.27.5.dev4.dist-info → large_image_source_nd2-1.30.7.dev10.dist-info}/top_level.txt +0 -0
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
import math
|
|
18
18
|
import os
|
|
19
19
|
import threading
|
|
20
|
+
import warnings
|
|
20
21
|
from importlib.metadata import PackageNotFoundError
|
|
21
22
|
from importlib.metadata import version as _importlib_version
|
|
22
23
|
|
|
@@ -49,6 +50,9 @@ def _lazyImport():
|
|
|
49
50
|
except ImportError:
|
|
50
51
|
msg = 'nd2 module not found.'
|
|
51
52
|
raise TileSourceError(msg)
|
|
53
|
+
# the dask module emits a warning about an open handle even those we
|
|
54
|
+
# close file handles properly. Suppress them
|
|
55
|
+
warnings.filterwarnings('ignore', category=UserWarning, module='.*dask.*')
|
|
52
56
|
|
|
53
57
|
|
|
54
58
|
def namedtupleToDict(obj):
|
|
@@ -138,7 +142,7 @@ class ND2FileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
138
142
|
# We use dask to allow lazy reading of large images
|
|
139
143
|
try:
|
|
140
144
|
self._nd2array = self._nd2.to_dask(copy=False, wrapper=False)
|
|
141
|
-
except (TypeError, ValueError) as exc:
|
|
145
|
+
except (TypeError, ValueError, OSError) as exc:
|
|
142
146
|
self.logger.debug('Failed to read nd2 file: %s', exc)
|
|
143
147
|
msg = 'File cannot be opened via the nd2 source.'
|
|
144
148
|
raise TileSourceError(msg)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: large-image-source-nd2
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.30.7.dev10
|
|
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.
|
|
@@ -15,13 +15,27 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
19
|
Requires-Python: >=3.8
|
|
20
|
+
Description-Content-Type: text/x-rst
|
|
19
21
|
License-File: LICENSE
|
|
20
|
-
Requires-Dist: large-image
|
|
22
|
+
Requires-Dist: large-image>=1.30.7.dev10
|
|
21
23
|
Requires-Dist: dask[array]
|
|
22
|
-
Requires-Dist: nd2[legacy]
|
|
24
|
+
Requires-Dist: nd2[legacy]>=0.2.3
|
|
23
25
|
Provides-Extra: girder
|
|
24
|
-
Requires-Dist: girder-large-image
|
|
26
|
+
Requires-Dist: girder-large-image>=1.30.7.dev10; extra == "girder"
|
|
27
|
+
Dynamic: author
|
|
28
|
+
Dynamic: author-email
|
|
29
|
+
Dynamic: classifier
|
|
30
|
+
Dynamic: description
|
|
31
|
+
Dynamic: description-content-type
|
|
32
|
+
Dynamic: home-page
|
|
33
|
+
Dynamic: keywords
|
|
34
|
+
Dynamic: license
|
|
35
|
+
Dynamic: provides-extra
|
|
36
|
+
Dynamic: requires-dist
|
|
37
|
+
Dynamic: requires-python
|
|
38
|
+
Dynamic: summary
|
|
25
39
|
|
|
26
40
|
An nd2 (NIS Elements) tilesource for large_image.
|
|
27
41
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
large_image_source_nd2/__init__.py,sha256=KBl9PFMKaTObunlfNmWNwkUYTvSITL__UEMB9__FErI,12961
|
|
2
|
+
large_image_source_nd2/girder_source.py,sha256=wjT_KZR5kaTRZpDiaaR8A2_PHhOui3jooE6Rq6urAWY,1110
|
|
3
|
+
large_image_source_nd2-1.30.7.dev10.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
4
|
+
large_image_source_nd2-1.30.7.dev10.dist-info/METADATA,sha256=qhjVPT_fNdqoheyr_gfOm02rv9c1N1DThGpRYkT8jd8,1407
|
|
5
|
+
large_image_source_nd2-1.30.7.dev10.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
6
|
+
large_image_source_nd2-1.30.7.dev10.dist-info/entry_points.txt,sha256=M5DIYSmeNIauNILjZANX1Un3p_0y2uTdhSvnC4EdmrM,160
|
|
7
|
+
large_image_source_nd2-1.30.7.dev10.dist-info/top_level.txt,sha256=LQkbldhJSBrb5XBjC8NDDCM3ro9EcpLyXlYEr6F4_Ho,23
|
|
8
|
+
large_image_source_nd2-1.30.7.dev10.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
large_image_source_nd2/__init__.py,sha256=mJ1CPsRIiqXP8iy7Wl8OXev8FArPB2kPK8Q_H0UZNjg,12722
|
|
2
|
-
large_image_source_nd2/girder_source.py,sha256=wjT_KZR5kaTRZpDiaaR8A2_PHhOui3jooE6Rq6urAWY,1110
|
|
3
|
-
large_image_source_nd2-1.27.5.dev4.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
4
|
-
large_image_source_nd2-1.27.5.dev4.dist-info/METADATA,sha256=m599GlAqctcjIFnGGXVKqpxsCX3y246PWxGYORH1dhI,1064
|
|
5
|
-
large_image_source_nd2-1.27.5.dev4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
6
|
-
large_image_source_nd2-1.27.5.dev4.dist-info/entry_points.txt,sha256=M5DIYSmeNIauNILjZANX1Un3p_0y2uTdhSvnC4EdmrM,160
|
|
7
|
-
large_image_source_nd2-1.27.5.dev4.dist-info/top_level.txt,sha256=LQkbldhJSBrb5XBjC8NDDCM3ro9EcpLyXlYEr6F4_Ho,23
|
|
8
|
-
large_image_source_nd2-1.27.5.dev4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|