large-image-source-bioformats 1.30.6__py3-none-any.whl → 1.30.6.dev4__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-bioformats might be problematic. Click here for more details.

@@ -62,7 +62,7 @@ _openImages = []
62
62
 
63
63
 
64
64
  # Default to ignoring files with no extension and some specific extensions.
65
- config.ConfigValues['source_bioformats_ignored_names'] = r'(^[^.]*|\.(jpg|jpeg|jpe|png|tif|tiff|ndpi|nd2|ome|nc|json|geojson|fits|isyntax|mrxs|zip|zarr(\.db|\.zip)))$' # noqa
65
+ config.ConfigValues['source_bioformats_ignored_names'] = r'(^[^.]*|\.(jpg|jpeg|jpe|png|tif|tiff|ndpi|nd2|ome|nc|json|isyntax|mrxs|zip|zarr(\.db|\.zip)))$' # noqa
66
66
 
67
67
 
68
68
  def _monitor_thread():
@@ -712,7 +712,7 @@ class BioformatsFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
712
712
  """
713
713
  info = self._metadata['seriesAssociatedImages'].get(imageKey)
714
714
  if info is None:
715
- return None
715
+ return
716
716
  series = info['seriesNum']
717
717
  with self._tileLock:
718
718
  try:
@@ -741,19 +741,6 @@ class BioformatsFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
741
741
  ext = dotext.strip('.')
742
742
  if ext not in cls.extensions:
743
743
  cls.extensions[ext] = SourcePriority.IMPLICIT
744
- # The python modules doesn't list all the extensions that can be
745
- # read, so supplement from the jar
746
- readerlist = zipfile.ZipFile(
747
- pathlib.Path(bioformats.__file__).parent /
748
- 'jars/bioformats_package.jar',
749
- ).open('loci/formats/readers.txt').read(100000).decode().split('\n')
750
- pattern = re.compile(r'^loci\.formats\.in\..* # (?:.*?\b(\w{2,})\b(?:,|\s|$))')
751
- for line in readerlist:
752
- for ext in set(pattern.findall(line)) - {
753
- 'pattern', 'urlreader', 'screen', 'zip', 'zarr', 'db',
754
- 'fake', 'no'}:
755
- if ext not in cls.extensions:
756
- cls.extensions[ext] = SourcePriority.IMPLICIT
757
744
 
758
745
 
759
746
  def open(*args, **kwargs):
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.1
2
2
  Name: large-image-source-bioformats
3
- Version: 1.30.6
3
+ Version: 1.30.6.dev4
4
4
  Summary: An bioformats tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
@@ -19,22 +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.6
22
+ Requires-Dist: large-image>=1.30.6.dev4
23
23
  Requires-Dist: python-bioformats>=1.5.2
24
24
  Provides-Extra: girder
25
- Requires-Dist: girder-large-image>=1.30.6; extra == "girder"
26
- Dynamic: author
27
- Dynamic: author-email
28
- Dynamic: classifier
29
- Dynamic: description
30
- Dynamic: description-content-type
31
- Dynamic: home-page
32
- Dynamic: keywords
33
- Dynamic: license
34
- Dynamic: provides-extra
35
- Dynamic: requires-dist
36
- Dynamic: requires-python
37
- Dynamic: summary
25
+ Requires-Dist: girder-large-image>=1.30.6.dev4; extra == "girder"
38
26
 
39
27
  An bioformats tilesource for large_image.
40
28
 
@@ -0,0 +1,8 @@
1
+ large_image_source_bioformats/__init__.py,sha256=FrnLn4Tpjfnk-bxOvbr6hxUWqar9nRYe8pzgkBc_vSQ,32406
2
+ large_image_source_bioformats/girder_source.py,sha256=t0X1P0m4qMsRklpdxoPH-yqgHByMvQIzFJ4qRIUykVI,1355
3
+ large_image_source_bioformats-1.30.6.dev4.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
4
+ large_image_source_bioformats-1.30.6.dev4.dist-info/METADATA,sha256=HDYAmU515bsmyon293sdlcD-wLNya56nTZfSJiuopLc,1118
5
+ large_image_source_bioformats-1.30.6.dev4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
6
+ large_image_source_bioformats-1.30.6.dev4.dist-info/entry_points.txt,sha256=xgIbKr53QhQkyRFkr87fkagfPWweeqhHHekUEMrcpF8,202
7
+ large_image_source_bioformats-1.30.6.dev4.dist-info/top_level.txt,sha256=e0enjlcFXwPi638IhE71Rk5-eeriA7W3M3IsQ6yH3RI,30
8
+ large_image_source_bioformats-1.30.6.dev4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- large_image_source_bioformats/__init__.py,sha256=lJawSrn3ScKHffmtl7Rut_tgmVKJru3xbbmMn47c1p0,33201
2
- large_image_source_bioformats/girder_source.py,sha256=t0X1P0m4qMsRklpdxoPH-yqgHByMvQIzFJ4qRIUykVI,1355
3
- large_image_source_bioformats-1.30.6.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
4
- large_image_source_bioformats-1.30.6.dist-info/METADATA,sha256=1EVgho5adl4ZZ-qdh5tPjz6CyHFQ6R8vdNGnKpE-0HQ,1359
5
- large_image_source_bioformats-1.30.6.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
- large_image_source_bioformats-1.30.6.dist-info/entry_points.txt,sha256=xgIbKr53QhQkyRFkr87fkagfPWweeqhHHekUEMrcpF8,202
7
- large_image_source_bioformats-1.30.6.dist-info/top_level.txt,sha256=e0enjlcFXwPi638IhE71Rk5-eeriA7W3M3IsQ6yH3RI,30
8
- large_image_source_bioformats-1.30.6.dist-info/RECORD,,