@vitessce/zarr 4.1.0 → 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 +27 -7
- 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",
|
|
@@ -5871,6 +5872,7 @@ const CoordinationType$1 = {
|
|
|
5871
5872
|
PIXEL_HIGHLIGHT: "pixelHighlight",
|
|
5872
5873
|
// Per-image-layer
|
|
5873
5874
|
TOOLTIP_CROSSHAIRS_VISIBLE: "tooltipCrosshairsVisible",
|
|
5875
|
+
TOOLTIP_OBS_SETS_MODE: "tooltipObsSetsMode",
|
|
5874
5876
|
LEGEND_VISIBLE: "legendVisible",
|
|
5875
5877
|
SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
|
|
5876
5878
|
SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
|
|
@@ -5955,6 +5957,7 @@ const CoordinationType$1 = {
|
|
|
5955
5957
|
[FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$1.OBS_SEGMENTATIONS,
|
|
5956
5958
|
[FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$1.OBS_SEGMENTATIONS,
|
|
5957
5959
|
[FileType$1.OBS_POINTS_NG_ANNOTATIONS]: DataType$1.OBS_POINTS,
|
|
5960
|
+
[FileType$1.OBS_LOCATIONS_NG_ANNOTATIONS]: DataType$1.OBS_LOCATIONS,
|
|
5958
5961
|
[FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$1.IMAGE,
|
|
5959
5962
|
[FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
|
|
5960
5963
|
[FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
|
|
@@ -6199,6 +6202,7 @@ const CoordinationType$1 = {
|
|
|
6199
6202
|
CoordinationType$1.SPATIAL_ORBIT_AXIS,
|
|
6200
6203
|
CoordinationType$1.SPATIAL_ZOOM,
|
|
6201
6204
|
CoordinationType$1.SPATIAL_CAMERA_SNAPSHOT,
|
|
6205
|
+
CoordinationType$1.SPATIAL_RENDERING_MODE,
|
|
6202
6206
|
CoordinationType$1.OBS_FILTER,
|
|
6203
6207
|
CoordinationType$1.OBS_HIGHLIGHT,
|
|
6204
6208
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
@@ -6266,6 +6270,7 @@ const CoordinationType$1 = {
|
|
|
6266
6270
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
6267
6271
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
6268
6272
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
6273
|
+
CoordinationType$1.TOOLTIP_OBS_SETS_MODE,
|
|
6269
6274
|
CoordinationType$1.SAMPLE_TYPE,
|
|
6270
6275
|
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
6271
6276
|
CoordinationType$1.SAMPLE_SET_FILTER,
|
|
@@ -6317,6 +6322,7 @@ const CoordinationType$1 = {
|
|
|
6317
6322
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
6318
6323
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
6319
6324
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
6325
|
+
CoordinationType$1.TOOLTIP_OBS_SETS_MODE,
|
|
6320
6326
|
CoordinationType$1.SAMPLE_TYPE,
|
|
6321
6327
|
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
6322
6328
|
CoordinationType$1.SAMPLE_SET_FILTER,
|
|
@@ -6398,6 +6404,7 @@ const CoordinationType$1 = {
|
|
|
6398
6404
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
6399
6405
|
CoordinationType$1.MOLECULE_HIGHLIGHT,
|
|
6400
6406
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
6407
|
+
CoordinationType$1.TOOLTIP_OBS_SETS_MODE,
|
|
6401
6408
|
CoordinationType$1.PHOTOMETRIC_INTERPRETATION,
|
|
6402
6409
|
CoordinationType$1.ANNOTATION_STORY,
|
|
6403
6410
|
CoordinationType$1.ANNOTATION_SHAPES,
|
|
@@ -6405,7 +6412,8 @@ const CoordinationType$1 = {
|
|
|
6405
6412
|
CoordinationType$1.ANNOTATION_OVERLAY_VISIBLE,
|
|
6406
6413
|
CoordinationType$1.ANNOTATION_TRANSITION_DURATION,
|
|
6407
6414
|
CoordinationType$1.ANNOTATION_EDITABLE,
|
|
6408
|
-
CoordinationType$1.ANNOTATION_SEMANTIC_ZOOM
|
|
6415
|
+
CoordinationType$1.ANNOTATION_SEMANTIC_ZOOM,
|
|
6416
|
+
CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
|
|
6409
6417
|
],
|
|
6410
6418
|
[ViewType$1.SPATIAL_BETA]: [
|
|
6411
6419
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -6447,6 +6455,7 @@ const CoordinationType$1 = {
|
|
|
6447
6455
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
6448
6456
|
CoordinationType$1.MOLECULE_HIGHLIGHT,
|
|
6449
6457
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
6458
|
+
CoordinationType$1.TOOLTIP_OBS_SETS_MODE,
|
|
6450
6459
|
CoordinationType$1.FILE_UID,
|
|
6451
6460
|
CoordinationType$1.SPATIAL_TARGET_C,
|
|
6452
6461
|
CoordinationType$1.SPATIAL_LAYER_VISIBLE,
|
|
@@ -6530,7 +6539,8 @@ const CoordinationType$1 = {
|
|
|
6530
6539
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
6531
6540
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
6532
6541
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
6533
|
-
CoordinationType$1.TOOLTIPS_VISIBLE
|
|
6542
|
+
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
6543
|
+
CoordinationType$1.TOOLTIP_OBS_SETS_MODE
|
|
6534
6544
|
],
|
|
6535
6545
|
[ViewType$1.OBS_SETS]: [
|
|
6536
6546
|
CoordinationType$1.DATASET,
|
|
@@ -6621,7 +6631,8 @@ const CoordinationType$1 = {
|
|
|
6621
6631
|
CoordinationType$1.SPATIAL_ROTATION_Z,
|
|
6622
6632
|
CoordinationType$1.SPATIAL_ROTATION_ORBIT,
|
|
6623
6633
|
CoordinationType$1.SPATIAL_ORBIT_AXIS,
|
|
6624
|
-
CoordinationType$1.PHOTOMETRIC_INTERPRETATION
|
|
6634
|
+
CoordinationType$1.PHOTOMETRIC_INTERPRETATION,
|
|
6635
|
+
CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
|
|
6625
6636
|
],
|
|
6626
6637
|
[ViewType$1.LAYER_CONTROLLER_BETA]: [
|
|
6627
6638
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -15969,14 +15980,15 @@ z.object({
|
|
|
15969
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(),
|
|
15970
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()
|
|
15971
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.");
|
|
15972
15987
|
z.object({
|
|
15973
15988
|
projectionAnnotationSpacing: z.number(),
|
|
15974
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."),
|
|
15975
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."),
|
|
15976
|
-
transform:
|
|
15977
|
-
matrix: z.array(z.array(z.number())),
|
|
15978
|
-
outputDimensions: z.record(z.tuple([z.number(), z.string()]))
|
|
15979
|
-
}).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,
|
|
15980
15992
|
// Note: See comments in neuroglancer-sorger.js
|
|
15981
15993
|
// We may remove these in the future, pending clarification
|
|
15982
15994
|
// to questions in the tissue-map-tools repo
|
|
@@ -15985,6 +15997,14 @@ z.object({
|
|
|
15985
15997
|
quantitativeColorProp: z.string().optional(),
|
|
15986
15998
|
quantitativeColorMax: z.number().optional()
|
|
15987
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();
|
|
15988
16008
|
z.object({
|
|
15989
16009
|
obsIndex: z.string(),
|
|
15990
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/
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/image-utils": "4.1.
|
|
30
|
-
"@vitessce/
|
|
31
|
-
"@vitessce/
|
|
32
|
-
"@vitessce/globals": "4.1.
|
|
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",
|