@vitessce/vit-s 3.6.3 → 3.6.5

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 (2) hide show
  1. package/dist/index.js +40 -3
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -30564,6 +30564,7 @@ const FileType$1 = {
30564
30564
  ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
30565
30565
  ANNDATA_H5AD: "anndata.h5ad",
30566
30566
  SPATIALDATA_ZARR: "spatialdata.zarr",
30567
+ SPATIALDATA_ZARR_ZIP: "spatialdata.zarr.zip",
30567
30568
  // Atomic file types
30568
30569
  OBS_EMBEDDING_CSV: "obsEmbedding.csv",
30569
30570
  OBS_SPOTS_CSV: "obsSpots.csv",
@@ -30644,6 +30645,14 @@ const FileType$1 = {
30644
30645
  // TODO:
30645
30646
  // OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
30646
30647
  // OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
30648
+ // SpatialData - zipped
30649
+ IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
30650
+ LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
30651
+ SHAPES_SPATIALDATA_ZARR_ZIP: "shapes.spatialdata.zarr.zip",
30652
+ OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP: "obsFeatureMatrix.spatialdata.zarr.zip",
30653
+ OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
30654
+ OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
30655
+ FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
30647
30656
  // MuData
30648
30657
  OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
30649
30658
  OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
@@ -31046,6 +31055,28 @@ const DATA_TYPE_COORDINATION_VALUE_USAGE = {
31046
31055
  },
31047
31056
  [FileType$1.OBS_SEGMENTATIONS_OME_ZARR]: {
31048
31057
  zip: FileType$1.OBS_SEGMENTATIONS_OME_ZARR_ZIP
31058
+ },
31059
+ // For SpatialData:
31060
+ [FileType$1.IMAGE_SPATIALDATA_ZARR]: {
31061
+ zip: FileType$1.IMAGE_SPATIALDATA_ZARR_ZIP
31062
+ },
31063
+ [FileType$1.LABELS_SPATIALDATA_ZARR]: {
31064
+ zip: FileType$1.LABELS_SPATIALDATA_ZARR_ZIP
31065
+ },
31066
+ [FileType$1.SHAPES_SPATIALDATA_ZARR]: {
31067
+ zip: FileType$1.SHAPES_SPATIALDATA_ZARR_ZIP
31068
+ },
31069
+ [FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: {
31070
+ zip: FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP
31071
+ },
31072
+ [FileType$1.OBS_SETS_SPATIALDATA_ZARR]: {
31073
+ zip: FileType$1.OBS_SETS_SPATIALDATA_ZARR_ZIP
31074
+ },
31075
+ [FileType$1.OBS_SPOTS_SPATIALDATA_ZARR]: {
31076
+ zip: FileType$1.OBS_SPOTS_SPATIALDATA_ZARR_ZIP
31077
+ },
31078
+ [FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: {
31079
+ zip: FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
31049
31080
  }
31050
31081
  });
31051
31082
  const AUTO_INDEPENDENT_COORDINATION_TYPES = [
@@ -31720,7 +31751,7 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
31720
31751
  CoordinationType$1.HIERARCHY_LEVELS
31721
31752
  ]
31722
31753
  });
31723
- const version = "3.6.3";
31754
+ const version = "3.6.5";
31724
31755
  const META_VERSION = {
31725
31756
  version
31726
31757
  };
@@ -32241,6 +32272,7 @@ const anndataZarrSchema = z.object({
32241
32272
  z.array(annDataConvenienceFeatureLabelsItem)
32242
32273
  ]),
32243
32274
  obsFeatureMatrix: annDataObsFeatureMatrix,
32275
+ obsFeatureColumns: annDataObsFeatureColumnsArr,
32244
32276
  obsSets: annDataObsSetsArr,
32245
32277
  obsSpots: annDataObsSpots,
32246
32278
  obsPoints: annDataObsPoints,
@@ -32258,12 +32290,17 @@ anndataZarrSchema.extend({
32258
32290
  z.object({
32259
32291
  // TODO: should `image` be a special schema
32260
32292
  // to allow specifying fileUid (like for embeddingType)?
32261
- // TODO: allow multiple images
32293
+ // TODO: allow multiple images?
32262
32294
  image: imageSpatialdataSchema,
32263
32295
  // TODO: should this be a special schema
32264
32296
  // to allow specifying fileUid (like for embeddingType)?
32265
- // TODO: allow multiple labels
32297
+ // TODO: allow multiple labels?
32266
32298
  labels: obsSegmentationsSpatialdataSchema,
32299
+ // TODO: allow multiple shapes?
32300
+ // TODO: unify labels and shapes to obsSegmentations,
32301
+ // then distinguish in expand function based on
32302
+ // "labels/*" vs. "shapes/*" in path?
32303
+ shapes: obsSegmentationsSpatialdataSchema,
32267
32304
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
32268
32305
  obsSpots: obsSpotsSpatialdataSchema,
32269
32306
  // TODO: obsPoints
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/vit-s",
3
- "version": "3.6.3",
3
+ "version": "3.6.5",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -28,15 +28,15 @@
28
28
  "zustand": "^5.0.4",
29
29
  "react-aria": "^3.28.0",
30
30
  "react-error-boundary": "^5.0.0",
31
- "@vitessce/styles": "3.6.3",
32
- "@vitessce/abstract": "3.6.3",
33
- "@vitessce/constants-internal": "3.6.3",
34
- "@vitessce/plugins": "3.6.3",
35
- "@vitessce/schemas": "3.6.3",
36
- "@vitessce/utils": "3.6.3",
37
- "@vitessce/sets-utils": "3.6.3",
38
- "@vitessce/config": "3.6.3",
39
- "@vitessce/globals": "3.6.3"
31
+ "@vitessce/styles": "3.6.5",
32
+ "@vitessce/abstract": "3.6.5",
33
+ "@vitessce/constants-internal": "3.6.5",
34
+ "@vitessce/plugins": "3.6.5",
35
+ "@vitessce/schemas": "3.6.5",
36
+ "@vitessce/utils": "3.6.5",
37
+ "@vitessce/sets-utils": "3.6.5",
38
+ "@vitessce/config": "3.6.5",
39
+ "@vitessce/globals": "3.6.5"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@testing-library/jest-dom": "^6.6.3",
@@ -45,7 +45,7 @@
45
45
  "react-dom": "^18.0.0",
46
46
  "vite": "^6.3.5",
47
47
  "vitest": "^3.1.4",
48
- "@vitessce/types": "3.6.3"
48
+ "@vitessce/types": "3.6.5"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"