vitessce 3.7.0__py3-none-any.whl → 3.7.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.
- vitessce/constants.py +1 -0
- vitessce/widget.py +3 -4
- vitessce/wrappers.py +4 -3
- {vitessce-3.7.0.dist-info → vitessce-3.7.2.dist-info}/METADATA +1 -1
- {vitessce-3.7.0.dist-info → vitessce-3.7.2.dist-info}/RECORD +7 -7
- {vitessce-3.7.0.dist-info → vitessce-3.7.2.dist-info}/WHEEL +0 -0
- {vitessce-3.7.0.dist-info → vitessce-3.7.2.dist-info}/licenses/LICENSE +0 -0
vitessce/constants.py
CHANGED
|
@@ -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"
|
vitessce/widget.py
CHANGED
|
@@ -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.
|
|
653
|
+
js_package_version = Unicode('3.6.15').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.
|
|
667
|
-
""" """
|
|
666
|
+
def __init__(self, config, height=600, theme='auto', uid=None, port=None, proxy=False, js_package_version='3.6.15', 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.
|
|
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.15', 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
|
|
vitessce/wrappers.py
CHANGED
|
@@ -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
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vitessce
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.2
|
|
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>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
vitessce/__init__.py,sha256=GWGahpQMOGFotQXilRccGT0Bnn3OyoCQUCUphW_DtTI,1632
|
|
2
2
|
vitessce/config.py,sha256=0U10mtZZx_DBKM8AipD1Xw-L1hRgQcfOFASKHSGJ5BE,82949
|
|
3
3
|
vitessce/config_converter.py,sha256=IRPnGPGaETvJbYZNUv2pe54SHHHsDY9VWo3JRjSI5FM,14681
|
|
4
|
-
vitessce/constants.py,sha256=
|
|
4
|
+
vitessce/constants.py,sha256=7w71Z5TLJIWy7ieNxTmNaC-KB3G5mok_U0tTrcUG6g4,15500
|
|
5
5
|
vitessce/export.py,sha256=L7j5sVC0nBSqGocFWQyyHImSiAF4IjXhmqV1QtpuNc4,3874
|
|
6
6
|
vitessce/file_def_utils.py,sha256=heFDrJMO4fYoondtVALjUiIxe4swOiR24KVGEu8ZTM0,6688
|
|
7
7
|
vitessce/repr.py,sha256=qMmefmZ3E-3sRVxeI5q1DTZnfuwbXKiA85eyqk5MCT4,2287
|
|
8
8
|
vitessce/responses.py,sha256=Z6Wo4AXN-RyzmxMPhSuhpIsHTItHM4GyIgMLGoVEYcU,339
|
|
9
9
|
vitessce/routes.py,sha256=U8T-L-3QCD_tAbPF8LsUlSMhPWNbyzbLNUnxP9Z9s9o,2140
|
|
10
10
|
vitessce/utils.py,sha256=obzjj65qsagu60_yuhGc-0jmHO-BW0Y-bDs0FgrBqLY,981
|
|
11
|
-
vitessce/widget.py,sha256=
|
|
12
|
-
vitessce/wrappers.py,sha256=
|
|
11
|
+
vitessce/widget.py,sha256=flUVMhD2y1Tg5KlyVrGld8yH2tXVR-PD9jS4pY81Y7U,35882
|
|
12
|
+
vitessce/wrappers.py,sha256=eGsR6fd24zT9OfasmOg1oyR9GpiVPyKh-PqZwPnXXz4,76257
|
|
13
13
|
vitessce/data_utils/__init__.py,sha256=3mWi1lMjoj4_dNbhMOvyE-HEJu0qpMzcmkhfz_5T6n8,361
|
|
14
14
|
vitessce/data_utils/anndata.py,sha256=iLa5-bRezHgBzL_XCHO7w0pc0RQ4urzZbDsqJbBYeCk,10668
|
|
15
15
|
vitessce/data_utils/entities.py,sha256=X8enC_TQbgwBzjgD1x53IPS6aVr9wyP0s-NLuYBeMeU,11705
|
|
@@ -18,7 +18,7 @@ vitessce/data_utils/ome.py,sha256=tJHlSHbZTxpjRgYfTxbYMS9zSnSHQwJVWPZpREAvHtU,55
|
|
|
18
18
|
vitessce/widget_plugins/__init__.py,sha256=lto2GXnc7KwjIoT-jvzyRYLj0XTJG3uxoX45Hc9EcWA,82
|
|
19
19
|
vitessce/widget_plugins/demo_plugin.py,sha256=14S7nOxdlKSxIHw9DUcNCN83NE_U1EMPy2D4k0FDues,1797
|
|
20
20
|
vitessce/widget_plugins/spatial_query.py,sha256=CYxvmMT1Je_jguikPROQxlegkPgIIzemKGbZSJfZMyI,12314
|
|
21
|
-
vitessce-3.7.
|
|
22
|
-
vitessce-3.7.
|
|
23
|
-
vitessce-3.7.
|
|
24
|
-
vitessce-3.7.
|
|
21
|
+
vitessce-3.7.2.dist-info/METADATA,sha256=7dzskMRsAqgRcLQ9vJwcQ5k5Svkph4VFSIJVjj_yDtc,9826
|
|
22
|
+
vitessce-3.7.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
23
|
+
vitessce-3.7.2.dist-info/licenses/LICENSE,sha256=sNNpI0PQ57AW8_XnTAjU5Yw8YBA_DRNkVHrHYpCIhRU,1067
|
|
24
|
+
vitessce-3.7.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|