@vitessce/csv 3.6.12 → 3.6.14
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.
- package/dist/index.js +18 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -408,6 +408,7 @@ const FileType$1 = {
|
|
|
408
408
|
OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
|
|
409
409
|
FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
|
|
410
410
|
OBS_POINTS_SPATIALDATA_ZARR: "obsPoints.spatialdata.zarr",
|
|
411
|
+
OBS_EMBEDDING_SPATIALDATA_ZARR: "obsEmbedding.spatialdata.zarr",
|
|
411
412
|
// SpatialData - zipped
|
|
412
413
|
IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
|
|
413
414
|
LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
|
|
@@ -417,6 +418,7 @@ const FileType$1 = {
|
|
|
417
418
|
OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
|
|
418
419
|
FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
|
|
419
420
|
OBS_POINTS_SPATIALDATA_ZARR_ZIP: "obsPoints.spatialdata.zarr.zip",
|
|
421
|
+
OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP: "obsEmbedding.spatialdata.zarr.zip",
|
|
420
422
|
// MuData
|
|
421
423
|
OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
|
|
422
424
|
OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
|
|
@@ -664,6 +666,7 @@ const CoordinationType$1 = {
|
|
|
664
666
|
[FileType$1.OBS_SETS_SPATIALDATA_ZARR]: DataType$1.OBS_SETS,
|
|
665
667
|
[FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: DataType$1.FEATURE_LABELS,
|
|
666
668
|
[FileType$1.OBS_POINTS_SPATIALDATA_ZARR]: DataType$1.OBS_POINTS,
|
|
669
|
+
[FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR]: DataType$1.OBS_EMBEDDING,
|
|
667
670
|
// For new file types to support old file types
|
|
668
671
|
[FileType$1.OBS_EMBEDDING_CELLS_JSON]: DataType$1.OBS_EMBEDDING,
|
|
669
672
|
[FileType$1.OBS_LOCATIONS_CELLS_JSON]: DataType$1.OBS_LOCATIONS,
|
|
@@ -840,6 +843,9 @@ const CoordinationType$1 = {
|
|
|
840
843
|
},
|
|
841
844
|
[FileType$1.OBS_POINTS_SPATIALDATA_ZARR]: {
|
|
842
845
|
zip: FileType$1.OBS_POINTS_SPATIALDATA_ZARR_ZIP
|
|
846
|
+
},
|
|
847
|
+
[FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR]: {
|
|
848
|
+
zip: FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP
|
|
843
849
|
}
|
|
844
850
|
});
|
|
845
851
|
[
|
|
@@ -10866,6 +10872,16 @@ const obsSetsSpatialdataSchema = z.object({
|
|
|
10866
10872
|
tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
|
|
10867
10873
|
obsSets: annDataObsSetsArr
|
|
10868
10874
|
});
|
|
10875
|
+
annDataObsEmbedding.extend({
|
|
10876
|
+
// We extend anndataObsEmbedding which already has properties like `dims` and `path`.
|
|
10877
|
+
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
10878
|
+
tablePath: z.string().optional().describe("The path to a table which contains the index for the set values.")
|
|
10879
|
+
});
|
|
10880
|
+
const obsEmbeddingSpatialdataSchemaConvenience = z.union([
|
|
10881
|
+
annDataObsEmbedding,
|
|
10882
|
+
// For convenience, allow an array of items with `embeddingType` properties.
|
|
10883
|
+
z.array(annDataConvenienceObsEmbeddingItem)
|
|
10884
|
+
]);
|
|
10869
10885
|
z.object({
|
|
10870
10886
|
targetX: z.number(),
|
|
10871
10887
|
targetY: z.number(),
|
|
@@ -10974,9 +10990,10 @@ z.object({
|
|
|
10974
10990
|
// TODO: obsPoints
|
|
10975
10991
|
// TODO: obsLocations
|
|
10976
10992
|
obsSets: obsSetsSpatialdataSchema,
|
|
10977
|
-
|
|
10993
|
+
obsEmbedding: obsEmbeddingSpatialdataSchemaConvenience,
|
|
10978
10994
|
// TODO: obsLabels
|
|
10979
10995
|
// TODO: featureLabels
|
|
10996
|
+
// TODO: allow specifying tablePath and region at the top-level here.
|
|
10980
10997
|
coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
|
|
10981
10998
|
}).partial();
|
|
10982
10999
|
z.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/csv",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.14",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"d3-array": "^2.4.0",
|
|
20
20
|
"d3-dsv": "^1.1.1",
|
|
21
|
-
"@vitessce/constants-internal": "3.6.
|
|
22
|
-
"@vitessce/sets-utils": "3.6.
|
|
23
|
-
"@vitessce/abstract": "3.6.
|
|
24
|
-
"@vitessce/error": "3.6.
|
|
25
|
-
"@vitessce/config": "3.6.
|
|
21
|
+
"@vitessce/constants-internal": "3.6.14",
|
|
22
|
+
"@vitessce/sets-utils": "3.6.14",
|
|
23
|
+
"@vitessce/abstract": "3.6.14",
|
|
24
|
+
"@vitessce/error": "3.6.14",
|
|
25
|
+
"@vitessce/config": "3.6.14"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
|