@vitessce/vit-s 3.4.12 → 3.4.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 +25 -11
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -27960,6 +27960,9 @@ const FileType$1 = {
|
|
|
27960
27960
|
// OME-Zarr
|
|
27961
27961
|
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
27962
27962
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
27963
|
+
// OME-Zarr - Zipped
|
|
27964
|
+
IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
|
|
27965
|
+
OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
|
|
27963
27966
|
// AnnData
|
|
27964
27967
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
27965
27968
|
OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
|
|
@@ -28248,10 +28251,10 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
|
|
|
28248
28251
|
CoordinationType$1.EMBEDDING_OBS_OPACITY
|
|
28249
28252
|
];
|
|
28250
28253
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
28251
|
-
const version = "3.4.
|
|
28252
|
-
const date = "2024-10-
|
|
28254
|
+
const version = "3.4.14";
|
|
28255
|
+
const date = "2024-10-07";
|
|
28253
28256
|
const branch = "changeset-release/main";
|
|
28254
|
-
const hash = "
|
|
28257
|
+
const hash = "f416e01c";
|
|
28255
28258
|
const META_VERSION = {
|
|
28256
28259
|
note,
|
|
28257
28260
|
version,
|
|
@@ -28631,24 +28634,29 @@ const imageOmeZarrSchema = z.object({
|
|
|
28631
28634
|
imageOmeZarrSchema.extend({
|
|
28632
28635
|
obsTypesFromChannelNames: z.boolean().optional()
|
|
28633
28636
|
});
|
|
28634
|
-
const imageSpatialdataSchema =
|
|
28635
|
-
path: z.string()
|
|
28637
|
+
const imageSpatialdataSchema = z.object({
|
|
28638
|
+
path: z.string(),
|
|
28639
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
28636
28640
|
});
|
|
28637
28641
|
const obsSegmentationsSpatialdataSchema = z.object({
|
|
28638
|
-
// TODO: should this also extend the imageOmeZarrSchema?
|
|
28639
28642
|
// TODO: should this be renamed labelsSpatialdataSchema?
|
|
28640
28643
|
// TODO: support obsTypesFromChannelNames?
|
|
28641
|
-
path: z.string()
|
|
28644
|
+
path: z.string(),
|
|
28645
|
+
tablePath: z.string().optional().describe("The path to a table which annotates the labels. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
|
|
28646
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
28642
28647
|
});
|
|
28643
28648
|
z.object({
|
|
28644
|
-
path: z.string()
|
|
28649
|
+
path: z.string(),
|
|
28650
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates. If not provided, the "global" coordinate system is assumed.')
|
|
28645
28651
|
});
|
|
28646
28652
|
const obsSpotsSpatialdataSchema = z.object({
|
|
28647
28653
|
path: z.string(),
|
|
28648
|
-
tablePath: z.string().optional().describe("The path to a table which annotates the spots. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.")
|
|
28654
|
+
tablePath: z.string().optional().describe("The path to a table which annotates the spots. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
|
|
28655
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates and radii. If not provided, the "global" coordinate system is assumed.')
|
|
28649
28656
|
});
|
|
28650
28657
|
const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
|
|
28651
|
-
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
|
|
28658
|
+
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
28659
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
28652
28660
|
});
|
|
28653
28661
|
const obsSetsSpatialdataSchema = z.object({
|
|
28654
28662
|
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
@@ -28749,15 +28757,21 @@ anndataZarrSchema.extend({
|
|
|
28749
28757
|
z.object({
|
|
28750
28758
|
// TODO: should `image` be a special schema
|
|
28751
28759
|
// to allow specifying fileUid (like for embeddingType)?
|
|
28760
|
+
// TODO: allow multiple images
|
|
28752
28761
|
image: imageSpatialdataSchema,
|
|
28753
28762
|
// TODO: should this be a special schema
|
|
28754
28763
|
// to allow specifying fileUid (like for embeddingType)?
|
|
28764
|
+
// TODO: allow multiple labels
|
|
28755
28765
|
labels: obsSegmentationsSpatialdataSchema,
|
|
28756
28766
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
28757
28767
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
28758
28768
|
// TODO: obsPoints
|
|
28759
28769
|
// TODO: obsLocations
|
|
28760
|
-
obsSets: obsSetsSpatialdataSchema
|
|
28770
|
+
obsSets: obsSetsSpatialdataSchema,
|
|
28771
|
+
// TODO: obsEmbedding
|
|
28772
|
+
// TODO: obsLabels
|
|
28773
|
+
// TODO: featureLabels
|
|
28774
|
+
coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
|
|
28761
28775
|
}).partial();
|
|
28762
28776
|
z.object({
|
|
28763
28777
|
obsLabelsTypes: z.array(z.string()).optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/vit-s",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.14",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"uuid": "^9.0.0",
|
|
30
30
|
"zustand": "^3.5.10",
|
|
31
31
|
"react-aria": "^3.28.0",
|
|
32
|
-
"@vitessce/constants-internal": "3.4.
|
|
33
|
-
"@vitessce/plugins": "3.4.
|
|
34
|
-
"@vitessce/schemas": "3.4.
|
|
35
|
-
"@vitessce/utils": "3.4.
|
|
36
|
-
"@vitessce/sets-utils": "3.4.
|
|
37
|
-
"@vitessce/config": "3.4.
|
|
32
|
+
"@vitessce/constants-internal": "3.4.14",
|
|
33
|
+
"@vitessce/plugins": "3.4.14",
|
|
34
|
+
"@vitessce/schemas": "3.4.14",
|
|
35
|
+
"@vitessce/utils": "3.4.14",
|
|
36
|
+
"@vitessce/sets-utils": "3.4.14",
|
|
37
|
+
"@vitessce/config": "3.4.14"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@testing-library/jest-dom": "^5.16.4",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"react": "^18.0.0",
|
|
43
43
|
"vite": "^4.3.0",
|
|
44
44
|
"vitest": "^0.32.2",
|
|
45
|
-
"@vitessce/types": "3.4.
|
|
45
|
+
"@vitessce/types": "3.4.14"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|