vitessce 3.7.0__tar.gz → 3.7.1__tar.gz

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.
Files changed (48) hide show
  1. {vitessce-3.7.0 → vitessce-3.7.1}/PKG-INFO +1 -1
  2. {vitessce-3.7.0 → vitessce-3.7.1}/pyproject.toml +1 -1
  3. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/constants.py +1 -0
  4. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/widget.py +3 -4
  5. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/wrappers.py +4 -3
  6. {vitessce-3.7.0 → vitessce-3.7.1}/uv.lock +1 -1
  7. {vitessce-3.7.0 → vitessce-3.7.1}/.coveragerc_omit +0 -0
  8. {vitessce-3.7.0 → vitessce-3.7.1}/.coveragerc_real +0 -0
  9. {vitessce-3.7.0 → vitessce-3.7.1}/.gitignore +0 -0
  10. {vitessce-3.7.0 → vitessce-3.7.1}/.python-version +0 -0
  11. {vitessce-3.7.0 → vitessce-3.7.1}/CHANGELOG.md +0 -0
  12. {vitessce-3.7.0 → vitessce-3.7.1}/LICENSE +0 -0
  13. {vitessce-3.7.0 → vitessce-3.7.1}/MANIFEST.in +0 -0
  14. {vitessce-3.7.0 → vitessce-3.7.1}/Makefile +0 -0
  15. {vitessce-3.7.0 → vitessce-3.7.1}/README.md +0 -0
  16. {vitessce-3.7.0 → vitessce-3.7.1}/setup.cfg +0 -0
  17. {vitessce-3.7.0 → vitessce-3.7.1}/setup.py +0 -0
  18. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/__init__.py +0 -0
  19. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/config.py +0 -0
  20. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/config_converter.py +0 -0
  21. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/data_utils/__init__.py +0 -0
  22. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/data_utils/anndata.py +0 -0
  23. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/data_utils/entities.py +0 -0
  24. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/data_utils/multivec.py +0 -0
  25. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/data_utils/ome.py +0 -0
  26. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/export.py +0 -0
  27. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/file_def_utils.py +0 -0
  28. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/repr.py +0 -0
  29. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/responses.py +0 -0
  30. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/routes.py +0 -0
  31. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/utils.py +0 -0
  32. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/widget_plugins/__init__.py +0 -0
  33. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/widget_plugins/demo_plugin.py +0 -0
  34. {vitessce-3.7.0 → vitessce-3.7.1}/src/vitessce/widget_plugins/spatial_query.py +0 -0
  35. {vitessce-3.7.0 → vitessce-3.7.1}/tests/__init__.py +0 -0
  36. {vitessce-3.7.0 → vitessce-3.7.1}/tests/create_test_data.py +0 -0
  37. {vitessce-3.7.0 → vitessce-3.7.1}/tests/data/test.ome.tif +0 -0
  38. {vitessce-3.7.0 → vitessce-3.7.1}/tests/test_anndata_utils.py +0 -0
  39. {vitessce-3.7.0 → vitessce-3.7.1}/tests/test_config.py +0 -0
  40. {vitessce-3.7.0 → vitessce-3.7.1}/tests/test_config_converter.py +0 -0
  41. {vitessce-3.7.0 → vitessce-3.7.1}/tests/test_config_updates.py +0 -0
  42. {vitessce-3.7.0 → vitessce-3.7.1}/tests/test_entities.py +0 -0
  43. {vitessce-3.7.0 → vitessce-3.7.1}/tests/test_ome_utils.py +0 -0
  44. {vitessce-3.7.0 → vitessce-3.7.1}/tests/test_wrappers.py +0 -0
  45. {vitessce-3.7.0 → vitessce-3.7.1}/tests-widget/example.spec.js +0 -0
  46. {vitessce-3.7.0 → vitessce-3.7.1}/tests-widget/package.json +0 -0
  47. {vitessce-3.7.0 → vitessce-3.7.1}/tests-widget/playwright.config.js +0 -0
  48. {vitessce-3.7.0 → vitessce-3.7.1}/tests-widget/pnpm-lock.yaml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vitessce
3
- Version: 3.7.0
3
+ Version: 3.7.1
4
4
  Summary: Jupyter widget facilitating interactive visualization of spatial single-cell data with Vitessce
5
5
  Project-URL: repository, https://github.com/vitessce/vitessce-python
6
6
  Author-email: Mark Keller <mark_keller@hms.harvard.edu>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "vitessce"
7
- version = "3.7.0"
7
+ version = "3.7.1"
8
8
  authors = [
9
9
  { name="Mark Keller", email="mark_keller@hms.harvard.edu" },
10
10
  ]
@@ -163,6 +163,7 @@ class FileType(DocEnum):
163
163
  """
164
164
  ANNDATA_ZARR = "anndata.zarr", "Joint file type for AnnData objects"
165
165
  SPATIALDATA_ZARR = "spatialdata.zarr", "Joint file type for SpatialData objects"
166
+ SPATIALDATA_ZARR_ZIP = "spatialdata.zarr.zip", "Joint file type for SpatialData objects in a Zarr directory store that has been zipped"
166
167
  ANNDATA_H5AD = "anndata.h5ad", "Joint file type for AnnData objects"
167
168
  ANNDATA_ZARR_ZIP = "anndata.zarr.zip", "Joint file type for AnnData object in a Zarr directory store that has been zipped"
168
169
  OBS_EMBEDDING_CSV = 'obsEmbedding.csv', "File type for obsEmbedding values stored in a CSV file"
@@ -650,7 +650,7 @@ class VitessceWidget(anywidget.AnyWidget):
650
650
 
651
651
  next_port = DEFAULT_PORT
652
652
 
653
- js_package_version = Unicode('3.6.12').tag(sync=True)
653
+ js_package_version = Unicode('3.6.13').tag(sync=True)
654
654
  js_dev_mode = Bool(False).tag(sync=True)
655
655
  custom_js_url = Unicode('').tag(sync=True)
656
656
  plugin_esm = List(trait=Unicode(''), default_value=[]).tag(sync=True)
@@ -663,8 +663,7 @@ class VitessceWidget(anywidget.AnyWidget):
663
663
 
664
664
  store_urls = List(trait=Unicode(''), default_value=[]).tag(sync=True)
665
665
 
666
- def __init__(self, config, height=600, theme='auto', uid=None, port=None, proxy=False, js_package_version='3.6.12', js_dev_mode=False, custom_js_url='', plugins=None, remount_on_uid_change=True, prefer_local=True, invoke_timeout=300000, invoke_batched=True, page_mode=False, page_esm=None, prevent_scroll=True):
667
- """ """
666
+ def __init__(self, config, height=600, theme='auto', uid=None, port=None, proxy=False, js_package_version='3.6.13', js_dev_mode=False, custom_js_url='', plugins=None, remount_on_uid_change=True, prefer_local=True, invoke_timeout=300000, invoke_batched=True, page_mode=False, page_esm=None, prevent_scroll=True):
668
667
  """
669
668
  Construct a new Vitessce widget. Not intended to be instantiated directly; instead, use ``VitessceConfig.widget``.
670
669
 
@@ -797,7 +796,7 @@ class VitessceWidget(anywidget.AnyWidget):
797
796
  # Launch Vitessce using plain HTML representation (no ipywidgets)
798
797
 
799
798
 
800
- def ipython_display(config, height=600, theme='auto', base_url=None, host_name=None, uid=None, port=None, proxy=False, js_package_version='3.6.12', js_dev_mode=False, custom_js_url='', plugins=None, remount_on_uid_change=True, page_mode=False, page_esm=None):
799
+ def ipython_display(config, height=600, theme='auto', base_url=None, host_name=None, uid=None, port=None, proxy=False, js_package_version='3.6.13', js_dev_mode=False, custom_js_url='', plugins=None, remount_on_uid_change=True, page_mode=False, page_esm=None):
801
800
  from IPython.display import display, HTML
802
801
  uid_str = "vitessce" + get_uid_str(uid)
803
802
 
@@ -1399,7 +1399,7 @@ SpatialDataWrapperType = TypeVar('SpatialDataWrapperType', bound='SpatialDataWra
1399
1399
 
1400
1400
  class SpatialDataWrapper(AnnDataWrapper):
1401
1401
 
1402
- def __init__(self, sdata_path: Optional[str] = None, sdata_url: Optional[str] = None, sdata_store: Optional[Union[str, zarr.storage.StoreLike]] = None, sdata_artifact: Optional[ln.Artifact] = None, image_path: Optional[str] = None, region: Optional[str] = None, coordinate_system: Optional[str] = None, obs_spots_path: Optional[str] = None, obs_segmentations_path: Optional[str] = None, table_path: str = "tables/table", coordination_values=None, **kwargs):
1402
+ def __init__(self, sdata_path: Optional[str] = None, sdata_url: Optional[str] = None, sdata_store: Optional[Union[str, zarr.storage.StoreLike]] = None, sdata_artifact: Optional[ln.Artifact] = None, image_path: Optional[str] = None, region: Optional[str] = None, coordinate_system: Optional[str] = None, obs_spots_path: Optional[str] = None, obs_segmentations_path: Optional[str] = None, table_path: str = "tables/table", is_zip=None, coordination_values=None, **kwargs):
1403
1403
  """
1404
1404
  Wrap a SpatialData object.
1405
1405
 
@@ -1415,6 +1415,7 @@ class SpatialDataWrapper(AnnDataWrapper):
1415
1415
  :type image_path: Optional[str]
1416
1416
  :param coordinate_system: Name of a target coordinate system.
1417
1417
  :type coordinate_system: Optional[str]
1418
+ :param is_zip: Boolean indicating whether the Zarr store is in a zipped format.
1418
1419
  :param affine_transformation: Transformation to be applied to the image. By default, None. Prefer coordinate_system.
1419
1420
  :type affine_transformation: Optional[np.ndarray]
1420
1421
  :param obs_spots_path: Location of shapes that should be interpreted as spot observations, by default None
@@ -1434,7 +1435,7 @@ class SpatialDataWrapper(AnnDataWrapper):
1434
1435
  kwargs.get('adata_store', None),
1435
1436
  kwargs.get('adata_artifact', None)
1436
1437
  ])
1437
- super().__init__(adata_path=sdata_path, adata_url=sdata_url, adata_store=sdata_store, adata_artifact=sdata_artifact, **kwargs)
1438
+ super().__init__(adata_path=sdata_path, adata_url=sdata_url, adata_store=sdata_store, adata_artifact=sdata_artifact, is_zip=is_zip, **kwargs)
1438
1439
  if "labels_path" in kwargs:
1439
1440
  warnings.warn("`labels_path` is deprecated. Use `obs_segmentations_path` instead.", DeprecationWarning)
1440
1441
  self._obs_segmentations_path = kwargs["labels_path"]
@@ -1540,7 +1541,7 @@ class SpatialDataWrapper(AnnDataWrapper):
1540
1541
  options = gen_feature_labels_schema(self._feature_labels, options)
1541
1542
  if len(options.keys()) > 0:
1542
1543
  obj_file_def = {
1543
- "fileType": ft.SPATIALDATA_ZARR.value,
1544
+ "fileType": ft.SPATIALDATA_ZARR_ZIP.value if self.is_zip else ft.SPATIALDATA_ZARR.value,
1544
1545
  "url": self.get_zarr_url(base_url, dataset_uid, obj_i),
1545
1546
  "options": options
1546
1547
  }
@@ -4496,7 +4496,7 @@ wheels = [
4496
4496
 
4497
4497
  [[package]]
4498
4498
  name = "vitessce"
4499
- version = "3.7.0"
4499
+ version = "3.7.1"
4500
4500
  source = { editable = "." }
4501
4501
  dependencies = [
4502
4502
  { name = "black" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes