large-image-source-tifffile 1.29.7__py3-none-any.whl → 1.29.7.dev2__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-tifffile might be problematic. Click here for more details.
- large_image_source_tifffile/__init__.py +8 -11
- {large_image_source_tifffile-1.29.7.dist-info → large_image_source_tifffile-1.29.7.dev2.dist-info}/METADATA +3 -3
- large_image_source_tifffile-1.29.7.dev2.dist-info/RECORD +8 -0
- {large_image_source_tifffile-1.29.7.dist-info → large_image_source_tifffile-1.29.7.dev2.dist-info}/WHEEL +1 -1
- large_image_source_tifffile-1.29.7.dist-info/RECORD +0 -8
- {large_image_source_tifffile-1.29.7.dist-info → large_image_source_tifffile-1.29.7.dev2.dist-info}/LICENSE +0 -0
- {large_image_source_tifffile-1.29.7.dist-info → large_image_source_tifffile-1.29.7.dev2.dist-info}/entry_points.txt +0 -0
- {large_image_source_tifffile-1.29.7.dist-info → large_image_source_tifffile-1.29.7.dev2.dist-info}/top_level.txt +0 -0
|
@@ -259,17 +259,14 @@ class TifffileFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
|
259
259
|
for p in self._tf.pages:
|
|
260
260
|
if (p not in pagesInSeries and getattr(p, 'keyframe', None) is not None and
|
|
261
261
|
p.hash not in hashes and not len(set(p.axes) - set('YXS'))):
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
self._associatedImages[id] = entry
|
|
271
|
-
except Exception:
|
|
272
|
-
pass
|
|
262
|
+
id = 'image_%s' % p.index
|
|
263
|
+
entry = {'page': p.index}
|
|
264
|
+
entry['width'] = p.shape[p.axes.index('X')]
|
|
265
|
+
entry['height'] = p.shape[p.axes.index('Y')]
|
|
266
|
+
if (id not in self._associatedImages and
|
|
267
|
+
max(entry['width'], entry['height']) <= self._maxAssociatedImageSize and
|
|
268
|
+
max(entry['width'], entry['height']) >= self._minAssociatedImageSize):
|
|
269
|
+
self._associatedImages[id] = entry
|
|
273
270
|
for sidx, s in enumerate(self._tf.series):
|
|
274
271
|
if sidx not in self._series and not len(set(s.axes) - set('YXS')):
|
|
275
272
|
id = 'series_%d' % sidx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: large-image-source-tifffile
|
|
3
|
-
Version: 1.29.7
|
|
3
|
+
Version: 1.29.7.dev2
|
|
4
4
|
Summary: A tifffile tilesource for large_image.
|
|
5
5
|
Home-page: https://github.com/girder/large_image
|
|
6
6
|
Author: Kitware, Inc.
|
|
@@ -18,12 +18,12 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
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.29.7
|
|
21
|
+
Requires-Dist: large-image >=1.29.7.dev2
|
|
22
22
|
Requires-Dist: dask[array]
|
|
23
23
|
Requires-Dist: tifffile[all]
|
|
24
24
|
Requires-Dist: zarr
|
|
25
25
|
Provides-Extra: girder
|
|
26
|
-
Requires-Dist: girder-large-image >=1.29.7 ; extra == 'girder'
|
|
26
|
+
Requires-Dist: girder-large-image >=1.29.7.dev2 ; extra == 'girder'
|
|
27
27
|
|
|
28
28
|
A tifffile tilesource for large_image.
|
|
29
29
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
large_image_source_tifffile/__init__.py,sha256=TzrjZVyJM3K-FQn5dlTgmKVgcrv5FPd2y08T1t2Aoig,26881
|
|
2
|
+
large_image_source_tifffile/girder_source.py,sha256=8YsxpSK_UzbAcpjn6fIMlgKye2FchkB8_HTSQV0FpRA,1064
|
|
3
|
+
large_image_source_tifffile-1.29.7.dev2.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
4
|
+
large_image_source_tifffile-1.29.7.dev2.dist-info/METADATA,sha256=AZidnAlCOU053qBTFAZ7xDwMeXzO5BKmzmXu2ehkdZ8,1098
|
|
5
|
+
large_image_source_tifffile-1.29.7.dev2.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
|
|
6
|
+
large_image_source_tifffile-1.29.7.dev2.dist-info/entry_points.txt,sha256=aILCN5f7-Zj8-WRXcABxCQvqJv9VLTvqRhZ_7HEyokc,190
|
|
7
|
+
large_image_source_tifffile-1.29.7.dev2.dist-info/top_level.txt,sha256=feOAsix2Rzy6mjy2Ua-N0-L6tlKsgvLdRhO6Hd8_ZFs,28
|
|
8
|
+
large_image_source_tifffile-1.29.7.dev2.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
large_image_source_tifffile/__init__.py,sha256=utdbaHBKHNCW0zK_khwMjz6Pz7iM9ikIvZfDWvEGyDY,26993
|
|
2
|
-
large_image_source_tifffile/girder_source.py,sha256=8YsxpSK_UzbAcpjn6fIMlgKye2FchkB8_HTSQV0FpRA,1064
|
|
3
|
-
large_image_source_tifffile-1.29.7.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
4
|
-
large_image_source_tifffile-1.29.7.dist-info/METADATA,sha256=HMYs5FOali55iEkwkBKWxECo0lPTQ5pFyApZ_5_UWNw,1083
|
|
5
|
-
large_image_source_tifffile-1.29.7.dist-info/WHEEL,sha256=uCRv0ZEik_232NlR4YDw4Pv3Ajt5bKvMH13NUU7hFuI,91
|
|
6
|
-
large_image_source_tifffile-1.29.7.dist-info/entry_points.txt,sha256=aILCN5f7-Zj8-WRXcABxCQvqJv9VLTvqRhZ_7HEyokc,190
|
|
7
|
-
large_image_source_tifffile-1.29.7.dist-info/top_level.txt,sha256=feOAsix2Rzy6mjy2Ua-N0-L6tlKsgvLdRhO6Hd8_ZFs,28
|
|
8
|
-
large_image_source_tifffile-1.29.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|