@vitessce/csv 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 +6 -6
package/dist/index.js
CHANGED
|
@@ -1231,6 +1231,7 @@ const FileType$1 = {
|
|
|
1231
1231
|
// Precomputed (mesh) format
|
|
1232
1232
|
OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
|
|
1233
1233
|
OBS_POINTS_NG_ANNOTATIONS: "obsPoints.ng-annotations",
|
|
1234
|
+
OBS_LOCATIONS_NG_ANNOTATIONS: "obsLocations.ng-annotations",
|
|
1234
1235
|
// New file types to support old file types:
|
|
1235
1236
|
// - cells.json
|
|
1236
1237
|
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
@@ -1476,6 +1477,7 @@ const CoordinationType$1 = {
|
|
|
1476
1477
|
[FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$1.OBS_SEGMENTATIONS,
|
|
1477
1478
|
[FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$1.OBS_SEGMENTATIONS,
|
|
1478
1479
|
[FileType$1.OBS_POINTS_NG_ANNOTATIONS]: DataType$1.OBS_POINTS,
|
|
1480
|
+
[FileType$1.OBS_LOCATIONS_NG_ANNOTATIONS]: DataType$1.OBS_LOCATIONS,
|
|
1479
1481
|
[FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$1.IMAGE,
|
|
1480
1482
|
[FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
|
|
1481
1483
|
[FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
|
|
@@ -1930,7 +1932,8 @@ const CoordinationType$1 = {
|
|
|
1930
1932
|
CoordinationType$1.ANNOTATION_OVERLAY_VISIBLE,
|
|
1931
1933
|
CoordinationType$1.ANNOTATION_TRANSITION_DURATION,
|
|
1932
1934
|
CoordinationType$1.ANNOTATION_EDITABLE,
|
|
1933
|
-
CoordinationType$1.ANNOTATION_SEMANTIC_ZOOM
|
|
1935
|
+
CoordinationType$1.ANNOTATION_SEMANTIC_ZOOM,
|
|
1936
|
+
CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
|
|
1934
1937
|
],
|
|
1935
1938
|
[ViewType$1.SPATIAL_BETA]: [
|
|
1936
1939
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -2148,7 +2151,8 @@ const CoordinationType$1 = {
|
|
|
2148
2151
|
CoordinationType$1.SPATIAL_ROTATION_Z,
|
|
2149
2152
|
CoordinationType$1.SPATIAL_ROTATION_ORBIT,
|
|
2150
2153
|
CoordinationType$1.SPATIAL_ORBIT_AXIS,
|
|
2151
|
-
CoordinationType$1.PHOTOMETRIC_INTERPRETATION
|
|
2154
|
+
CoordinationType$1.PHOTOMETRIC_INTERPRETATION,
|
|
2155
|
+
CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
|
|
2152
2156
|
],
|
|
2153
2157
|
[ViewType$1.LAYER_CONTROLLER_BETA]: [
|
|
2154
2158
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -11401,14 +11405,15 @@ z.object({
|
|
|
11401
11405
|
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(),
|
|
11402
11406
|
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()
|
|
11403
11407
|
}).partial().nullable();
|
|
11408
|
+
const ngAnnotationTransformSchema = z.object({
|
|
11409
|
+
matrix: z.array(z.array(z.number())),
|
|
11410
|
+
outputDimensions: z.record(z.tuple([z.number(), z.string()]))
|
|
11411
|
+
}).optional().describe("A coordinate transformation matrix to apply to the annotation layer source to map annotation coordinates to the global coordinate space.");
|
|
11404
11412
|
z.object({
|
|
11405
11413
|
projectionAnnotationSpacing: z.number(),
|
|
11406
11414
|
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."),
|
|
11407
11415
|
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."),
|
|
11408
|
-
transform:
|
|
11409
|
-
matrix: z.array(z.array(z.number())),
|
|
11410
|
-
outputDimensions: z.record(z.tuple([z.number(), z.string()]))
|
|
11411
|
-
}).optional().describe("A coordinate transformation matrix to apply to the annotation layer source to map annotation coordinates to the global coordinate space."),
|
|
11416
|
+
transform: ngAnnotationTransformSchema,
|
|
11412
11417
|
// Note: See comments in neuroglancer-sorger.js
|
|
11413
11418
|
// We may remove these in the future, pending clarification
|
|
11414
11419
|
// to questions in the tissue-map-tools repo
|
|
@@ -11417,6 +11422,14 @@ z.object({
|
|
|
11417
11422
|
quantitativeColorProp: z.string().optional(),
|
|
11418
11423
|
quantitativeColorMax: z.number().optional()
|
|
11419
11424
|
}).partial().nullable();
|
|
11425
|
+
z.object({
|
|
11426
|
+
projectionAnnotationSpacing: z.number(),
|
|
11427
|
+
transform: ngAnnotationTransformSchema,
|
|
11428
|
+
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."),
|
|
11429
|
+
// Used when the corresponding segmentation channel uses obsColorEncoding 'geneSelection'.
|
|
11430
|
+
quantitativeColorProp: z.string().optional(),
|
|
11431
|
+
quantitativeColorMax: z.number().optional()
|
|
11432
|
+
}).partial().nullable();
|
|
11420
11433
|
z.object({
|
|
11421
11434
|
obsIndex: z.string(),
|
|
11422
11435
|
obsEmbedding: z.array(z.string()).length(2)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/csv",
|
|
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": {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"d3-array": "^2.4.0",
|
|
20
20
|
"d3-dsv": "^1.1.1",
|
|
21
|
-
"@vitessce/
|
|
22
|
-
"@vitessce/
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/config": "4.1.
|
|
25
|
-
"@vitessce/
|
|
21
|
+
"@vitessce/constants-internal": "4.1.2",
|
|
22
|
+
"@vitessce/sets-utils": "4.1.2",
|
|
23
|
+
"@vitessce/error": "4.1.2",
|
|
24
|
+
"@vitessce/config": "4.1.2",
|
|
25
|
+
"@vitessce/abstract": "4.1.2"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
|