large-image-source-tiff 1.32.1.dev17__py3-none-any.whl → 1.32.2__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.
@@ -514,6 +514,9 @@ class TiffFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
514
514
  image.
515
515
  :param imageId: if specified, use this as the image name.
516
516
  """
517
+ if not hasattr(self, '_associatedImagesDir'):
518
+ self._associatedImagesDir = {'images': {}, 'dirs': {}}
519
+ self._associatedImagesDir['dirs'][directoryNum] = None
517
520
  try:
518
521
  associated = self.getTiffDir(directoryNum, mustBeTiled)
519
522
  id = ''
@@ -548,6 +551,8 @@ class TiffFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
548
551
  return
549
552
  image = self._reorient_numpy_image(image, associated._tiffInfo.get('orientation'))
550
553
  self._associatedImages[id] = image
554
+ self._associatedImagesDir['images'][id] = directoryNum
555
+ self._associatedImagesDir['dirs'][directoryNum] = id
551
556
  except (TiffError, AttributeError):
552
557
  # If we can't validate or read an associated image or it has no
553
558
  # useful imagedescription, fail quietly without adding an
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: large-image-source-tiff
3
- Version: 1.32.1.dev17
3
+ Version: 1.32.2
4
4
  Summary: A TIFF tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
@@ -19,13 +19,13 @@ 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.32.1.dev17
22
+ Requires-Dist: large-image>=1.32.2
23
23
  Requires-Dist: pylibtiff
24
24
  Requires-Dist: tifftools>=1.2.0
25
25
  Provides-Extra: all
26
26
  Requires-Dist: pylibjpeg-openjpeg; extra == "all"
27
27
  Provides-Extra: girder
28
- Requires-Dist: girder-large-image>=1.32.1.dev17; extra == "girder"
28
+ Requires-Dist: girder-large-image>=1.32.2; extra == "girder"
29
29
  Dynamic: author
30
30
  Dynamic: author-email
31
31
  Dynamic: classifier
@@ -0,0 +1,10 @@
1
+ large_image_source_tiff/__init__.py,sha256=3JU4RSZ3ArHh2Jl-b7SeSMinH3wMHONMrqzsrtNurZ0,36912
2
+ large_image_source_tiff/exceptions.py,sha256=NgdwloaDCtbtUMe2BU2lXEU8IwQSYtaokIwGIFypCps,617
3
+ large_image_source_tiff/girder_source.py,sha256=Dp2e3O4VTANYXZI_eybgzs5BcyuMcw2-MAzCUJ8zzPg,1031
4
+ large_image_source_tiff/tiff_reader.py,sha256=gkAhuB4-IRzNLlNr958HKE9JZpRJwVo4zRGMd4rsD2o,40338
5
+ large_image_source_tiff-1.32.2.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
6
+ large_image_source_tiff-1.32.2.dist-info/METADATA,sha256=2KW-sSisObwm72tSKXsnpnLoC1H_rJftq4hgxh0_ZDU,1431
7
+ large_image_source_tiff-1.32.2.dist-info/WHEEL,sha256=ooBFpIzZCPdw3uqIQsOo4qqbA4ZRPxHnOH7peeONza0,91
8
+ large_image_source_tiff-1.32.2.dist-info/entry_points.txt,sha256=iZ43sIcj98SND7nDUC-_4qroBL6apyXN4iSbPXZ8LE4,166
9
+ large_image_source_tiff-1.32.2.dist-info/top_level.txt,sha256=QRx_D2oeiOOz_5FlBOAoDPF-E4Q-aFmerUWlaeP14B8,24
10
+ large_image_source_tiff-1.32.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,10 +0,0 @@
1
- large_image_source_tiff/__init__.py,sha256=o-NkH3SI7XLmEdejSREFMw39kfTMu2LiV3GGHsmNrPQ,36588
2
- large_image_source_tiff/exceptions.py,sha256=NgdwloaDCtbtUMe2BU2lXEU8IwQSYtaokIwGIFypCps,617
3
- large_image_source_tiff/girder_source.py,sha256=Dp2e3O4VTANYXZI_eybgzs5BcyuMcw2-MAzCUJ8zzPg,1031
4
- large_image_source_tiff/tiff_reader.py,sha256=gkAhuB4-IRzNLlNr958HKE9JZpRJwVo4zRGMd4rsD2o,40338
5
- large_image_source_tiff-1.32.1.dev17.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
6
- large_image_source_tiff-1.32.1.dev17.dist-info/METADATA,sha256=RJv7AJ9AiY6KhDCDPcFrTWAYRnjXEuMVg_iYWSubTz8,1449
7
- large_image_source_tiff-1.32.1.dev17.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
8
- large_image_source_tiff-1.32.1.dev17.dist-info/entry_points.txt,sha256=iZ43sIcj98SND7nDUC-_4qroBL6apyXN4iSbPXZ8LE4,166
9
- large_image_source_tiff-1.32.1.dev17.dist-info/top_level.txt,sha256=QRx_D2oeiOOz_5FlBOAoDPF-E4Q-aFmerUWlaeP14B8,24
10
- large_image_source_tiff-1.32.1.dev17.dist-info/RECORD,,