large-image-source-ometiff 1.30.7.dev10__py3-none-any.whl → 1.30.7.dev12__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -244,6 +244,9 @@ class OMETiffFileTileSource(TiffFileTileSource, metaclass=LruCacheMetaclass):
244
244
  if isinstance(self._omeinfo['Image'], dict):
245
245
  self._omeinfo['Image'] = [self._omeinfo['Image']]
246
246
  for img in self._omeinfo['Image']:
247
+ if isinstance(img['Pixels'], list):
248
+ msg = 'OME Tiff has multiple pixels'
249
+ raise TileSourceError(msg)
247
250
  if isinstance(img['Pixels'].get('TiffData'), dict):
248
251
  img['Pixels']['TiffData'] = [img['Pixels']['TiffData']]
249
252
  if isinstance(img['Pixels'].get('Plane'), dict):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: large-image-source-ometiff
3
- Version: 1.30.7.dev10
3
+ Version: 1.30.7.dev12
4
4
  Summary: An OMETiff tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
@@ -19,10 +19,10 @@ Classifier: Programming Language :: Python :: 3.13
19
19
  Requires-Python: >=3.8
20
20
  Description-Content-Type: text/x-rst
21
21
  License-File: LICENSE
22
- Requires-Dist: large-image>=1.30.7.dev10
23
- Requires-Dist: large-image-source-tiff>=1.30.7.dev10
22
+ Requires-Dist: large-image>=1.30.7.dev12
23
+ Requires-Dist: large-image-source-tiff>=1.30.7.dev12
24
24
  Provides-Extra: girder
25
- Requires-Dist: girder-large-image>=1.30.7.dev10; extra == "girder"
25
+ Requires-Dist: girder-large-image>=1.30.7.dev12; extra == "girder"
26
26
  Dynamic: author
27
27
  Dynamic: author-email
28
28
  Dynamic: classifier
@@ -0,0 +1,8 @@
1
+ large_image_source_ometiff/__init__.py,sha256=r3Ii965r6Y8m9D7eRnYmyG58aLkXyXULMIv8XV9Y_lQ,20634
2
+ large_image_source_ometiff/girder_source.py,sha256=QotYLsC_JY3pOixVOXZ_wwtHJABSuWw_f_8Q5pDnNWo,1047
3
+ large_image_source_ometiff-1.30.7.dev12.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
4
+ large_image_source_ometiff-1.30.7.dev12.dist-info/METADATA,sha256=SoWIIh7cakdNmptH0fo6msVPd7S2_z4v3NGCsIxpZfo,1381
5
+ large_image_source_ometiff-1.30.7.dev12.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
+ large_image_source_ometiff-1.30.7.dev12.dist-info/entry_points.txt,sha256=-xiaxFJTzRayHYwLkPsBXF0grk8j5nQy5cizSazP404,184
7
+ large_image_source_ometiff-1.30.7.dev12.dist-info/top_level.txt,sha256=Me0pziNZRmyYLdGAKu9zgDHHINn_7ayKLLYxTGXv5lo,27
8
+ large_image_source_ometiff-1.30.7.dev12.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- large_image_source_ometiff/__init__.py,sha256=_Ok3Ohef7-DnHE8PqOxQY4SgoSzQcXw2Durca2crtrc,20490
2
- large_image_source_ometiff/girder_source.py,sha256=QotYLsC_JY3pOixVOXZ_wwtHJABSuWw_f_8Q5pDnNWo,1047
3
- large_image_source_ometiff-1.30.7.dev10.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
4
- large_image_source_ometiff-1.30.7.dev10.dist-info/METADATA,sha256=elQGBQtYoJxld69qp_iPrhexe6Y9mzzT4pCQ0FgGGzw,1381
5
- large_image_source_ometiff-1.30.7.dev10.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
- large_image_source_ometiff-1.30.7.dev10.dist-info/entry_points.txt,sha256=-xiaxFJTzRayHYwLkPsBXF0grk8j5nQy5cizSazP404,184
7
- large_image_source_ometiff-1.30.7.dev10.dist-info/top_level.txt,sha256=Me0pziNZRmyYLdGAKu9zgDHHINn_7ayKLLYxTGXv5lo,27
8
- large_image_source_ometiff-1.30.7.dev10.dist-info/RECORD,,