@vitessce/zarr 4.1.1 → 4.1.2
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 +19 -6
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -5711,6 +5711,7 @@ const FileType$1 = {
|
|
|
5711
5711
|
// Precomputed (mesh) format
|
|
5712
5712
|
OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
|
|
5713
5713
|
OBS_POINTS_NG_ANNOTATIONS: "obsPoints.ng-annotations",
|
|
5714
|
+
OBS_LOCATIONS_NG_ANNOTATIONS: "obsLocations.ng-annotations",
|
|
5714
5715
|
// New file types to support old file types:
|
|
5715
5716
|
// - cells.json
|
|
5716
5717
|
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
@@ -5956,6 +5957,7 @@ const CoordinationType$1 = {
|
|
|
5956
5957
|
[FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$1.OBS_SEGMENTATIONS,
|
|
5957
5958
|
[FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$1.OBS_SEGMENTATIONS,
|
|
5958
5959
|
[FileType$1.OBS_POINTS_NG_ANNOTATIONS]: DataType$1.OBS_POINTS,
|
|
5960
|
+
[FileType$1.OBS_LOCATIONS_NG_ANNOTATIONS]: DataType$1.OBS_LOCATIONS,
|
|
5959
5961
|
[FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$1.IMAGE,
|
|
5960
5962
|
[FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
|
|
5961
5963
|
[FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
|
|
@@ -6410,7 +6412,8 @@ const CoordinationType$1 = {
|
|
|
6410
6412
|
CoordinationType$1.ANNOTATION_OVERLAY_VISIBLE,
|
|
6411
6413
|
CoordinationType$1.ANNOTATION_TRANSITION_DURATION,
|
|
6412
6414
|
CoordinationType$1.ANNOTATION_EDITABLE,
|
|
6413
|
-
CoordinationType$1.ANNOTATION_SEMANTIC_ZOOM
|
|
6415
|
+
CoordinationType$1.ANNOTATION_SEMANTIC_ZOOM,
|
|
6416
|
+
CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
|
|
6414
6417
|
],
|
|
6415
6418
|
[ViewType$1.SPATIAL_BETA]: [
|
|
6416
6419
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -6628,7 +6631,8 @@ const CoordinationType$1 = {
|
|
|
6628
6631
|
CoordinationType$1.SPATIAL_ROTATION_Z,
|
|
6629
6632
|
CoordinationType$1.SPATIAL_ROTATION_ORBIT,
|
|
6630
6633
|
CoordinationType$1.SPATIAL_ORBIT_AXIS,
|
|
6631
|
-
CoordinationType$1.PHOTOMETRIC_INTERPRETATION
|
|
6634
|
+
CoordinationType$1.PHOTOMETRIC_INTERPRETATION,
|
|
6635
|
+
CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
|
|
6632
6636
|
],
|
|
6633
6637
|
[ViewType$1.LAYER_CONTROLLER_BETA]: [
|
|
6634
6638
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -15976,14 +15980,15 @@ z.object({
|
|
|
15976
15980
|
subsources: z.record(z.boolean()).describe("Subsources are the individual data components of a source (e.g. meshes, skeletons, etc.). Each entry explicitly enables or disables a subsource.").optional(),
|
|
15977
15981
|
enableDefaultSubsources: z.boolean().describe("When true (default), automatically loads all subsources (defined in mesh metadata), when false loads what is explicitly enabled in `subsources`.").optional()
|
|
15978
15982
|
}).partial().nullable();
|
|
15983
|
+
const ngAnnotationTransformSchema = z.object({
|
|
15984
|
+
matrix: z.array(z.array(z.number())),
|
|
15985
|
+
outputDimensions: z.record(z.tuple([z.number(), z.string()]))
|
|
15986
|
+
}).optional().describe("A coordinate transformation matrix to apply to the annotation layer source to map annotation coordinates to the global coordinate space.");
|
|
15979
15987
|
z.object({
|
|
15980
15988
|
projectionAnnotationSpacing: z.number(),
|
|
15981
15989
|
featureIndexProp: z.string().optional().describe("The name of the Neuroglancer AnnotationProperty containing feature IDs. For example, specify 'gene' to use prop_gene() in the Neuroglancer shader code."),
|
|
15982
15990
|
pointIndexProp: z.string().optional().describe("The name of the Neuroglancer AnnotationProperty containing point IDs. For example, specify 'point_id' to use prop_point_id() in the Neuroglancer shader code."),
|
|
15983
|
-
transform:
|
|
15984
|
-
matrix: z.array(z.array(z.number())),
|
|
15985
|
-
outputDimensions: z.record(z.tuple([z.number(), z.string()]))
|
|
15986
|
-
}).optional().describe("A coordinate transformation matrix to apply to the annotation layer source to map annotation coordinates to the global coordinate space."),
|
|
15991
|
+
transform: ngAnnotationTransformSchema,
|
|
15987
15992
|
// Note: See comments in neuroglancer-sorger.js
|
|
15988
15993
|
// We may remove these in the future, pending clarification
|
|
15989
15994
|
// to questions in the tissue-map-tools repo
|
|
@@ -15992,6 +15997,14 @@ z.object({
|
|
|
15992
15997
|
quantitativeColorProp: z.string().optional(),
|
|
15993
15998
|
quantitativeColorMax: z.number().optional()
|
|
15994
15999
|
}).partial().nullable();
|
|
16000
|
+
z.object({
|
|
16001
|
+
projectionAnnotationSpacing: z.number(),
|
|
16002
|
+
transform: ngAnnotationTransformSchema,
|
|
16003
|
+
segmentIdProp: z.string().optional().describe("The name of the Neuroglancer AnnotationProperty holding the mesh segment ID (e.g. 'cell_id'). Defaults to 'id' when the annotation info declares it."),
|
|
16004
|
+
// Used when the corresponding segmentation channel uses obsColorEncoding 'geneSelection'.
|
|
16005
|
+
quantitativeColorProp: z.string().optional(),
|
|
16006
|
+
quantitativeColorMax: z.number().optional()
|
|
16007
|
+
}).partial().nullable();
|
|
15995
16008
|
z.object({
|
|
15996
16009
|
obsIndex: z.string(),
|
|
15997
16010
|
obsEmbedding: z.array(z.string()).length(2)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/zarr",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
"apache-arrow": "^17.0.0",
|
|
23
23
|
"parquet-wasm": "^0.6.1",
|
|
24
24
|
"ol": "^10.2.1",
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/sets-utils": "4.1.
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/
|
|
30
|
-
"@vitessce/
|
|
31
|
-
"@vitessce/
|
|
32
|
-
"@vitessce/
|
|
33
|
-
"@vitessce/
|
|
25
|
+
"@vitessce/abstract": "4.1.2",
|
|
26
|
+
"@vitessce/error": "4.1.2",
|
|
27
|
+
"@vitessce/sets-utils": "4.1.2",
|
|
28
|
+
"@vitessce/constants-internal": "4.1.2",
|
|
29
|
+
"@vitessce/image-utils": "4.1.2",
|
|
30
|
+
"@vitessce/utils": "4.1.2",
|
|
31
|
+
"@vitessce/zarr-utils": "4.1.2",
|
|
32
|
+
"@vitessce/globals": "4.1.2",
|
|
33
|
+
"@vitessce/config": "4.1.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@vitessce/types": "4.1.
|
|
36
|
+
"@vitessce/types": "4.1.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
|