@vitessce/neuroglancer 3.6.13 → 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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { g as getDefaultExportFromCjs, c as commonjsGlobal, a as getAugmentedNamespace, r as requirePropTypes } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal, a as getAugmentedNamespace, r as requirePropTypes } from "./index-BXP8Qz6x.js";
|
|
3
3
|
var lib = {};
|
|
4
4
|
var es6_object_assign = {};
|
|
5
5
|
var _global = { exports: {} };
|
|
@@ -137,6 +137,7 @@ const FileType$1 = {
|
|
|
137
137
|
OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
|
|
138
138
|
FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
|
|
139
139
|
OBS_POINTS_SPATIALDATA_ZARR: "obsPoints.spatialdata.zarr",
|
|
140
|
+
OBS_EMBEDDING_SPATIALDATA_ZARR: "obsEmbedding.spatialdata.zarr",
|
|
140
141
|
// SpatialData - zipped
|
|
141
142
|
IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
|
|
142
143
|
LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
|
|
@@ -146,6 +147,7 @@ const FileType$1 = {
|
|
|
146
147
|
OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
|
|
147
148
|
FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
|
|
148
149
|
OBS_POINTS_SPATIALDATA_ZARR_ZIP: "obsPoints.spatialdata.zarr.zip",
|
|
150
|
+
OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP: "obsEmbedding.spatialdata.zarr.zip",
|
|
149
151
|
// MuData
|
|
150
152
|
OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
|
|
151
153
|
OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
|
|
@@ -396,6 +398,7 @@ const ViewHelpMapping = {
|
|
|
396
398
|
[FileType$1.OBS_SETS_SPATIALDATA_ZARR]: DataType$1.OBS_SETS,
|
|
397
399
|
[FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: DataType$1.FEATURE_LABELS,
|
|
398
400
|
[FileType$1.OBS_POINTS_SPATIALDATA_ZARR]: DataType$1.OBS_POINTS,
|
|
401
|
+
[FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR]: DataType$1.OBS_EMBEDDING,
|
|
399
402
|
// For new file types to support old file types
|
|
400
403
|
[FileType$1.OBS_EMBEDDING_CELLS_JSON]: DataType$1.OBS_EMBEDDING,
|
|
401
404
|
[FileType$1.OBS_LOCATIONS_CELLS_JSON]: DataType$1.OBS_LOCATIONS,
|
|
@@ -572,6 +575,9 @@ const ViewHelpMapping = {
|
|
|
572
575
|
},
|
|
573
576
|
[FileType$1.OBS_POINTS_SPATIALDATA_ZARR]: {
|
|
574
577
|
zip: FileType$1.OBS_POINTS_SPATIALDATA_ZARR_ZIP
|
|
578
|
+
},
|
|
579
|
+
[FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR]: {
|
|
580
|
+
zip: FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP
|
|
575
581
|
}
|
|
576
582
|
});
|
|
577
583
|
[
|
|
@@ -10659,6 +10665,16 @@ const obsSetsSpatialdataSchema = z.object({
|
|
|
10659
10665
|
tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
|
|
10660
10666
|
obsSets: annDataObsSetsArr
|
|
10661
10667
|
});
|
|
10668
|
+
annDataObsEmbedding.extend({
|
|
10669
|
+
// We extend anndataObsEmbedding which already has properties like `dims` and `path`.
|
|
10670
|
+
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
10671
|
+
tablePath: z.string().optional().describe("The path to a table which contains the index for the set values.")
|
|
10672
|
+
});
|
|
10673
|
+
const obsEmbeddingSpatialdataSchemaConvenience = z.union([
|
|
10674
|
+
annDataObsEmbedding,
|
|
10675
|
+
// For convenience, allow an array of items with `embeddingType` properties.
|
|
10676
|
+
z.array(annDataConvenienceObsEmbeddingItem)
|
|
10677
|
+
]);
|
|
10662
10678
|
z.object({
|
|
10663
10679
|
targetX: z.number(),
|
|
10664
10680
|
targetY: z.number(),
|
|
@@ -10767,9 +10783,10 @@ z.object({
|
|
|
10767
10783
|
// TODO: obsPoints
|
|
10768
10784
|
// TODO: obsLocations
|
|
10769
10785
|
obsSets: obsSetsSpatialdataSchema,
|
|
10770
|
-
|
|
10786
|
+
obsEmbedding: obsEmbeddingSpatialdataSchemaConvenience,
|
|
10771
10787
|
// TODO: obsLabels
|
|
10772
10788
|
// TODO: featureLabels
|
|
10789
|
+
// TODO: allow specifying tablePath and region at the top-level here.
|
|
10773
10790
|
coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
|
|
10774
10791
|
}).partial();
|
|
10775
10792
|
z.object({
|
|
@@ -28411,7 +28428,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
28411
28428
|
}
|
|
28412
28429
|
));
|
|
28413
28430
|
}
|
|
28414
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
28431
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-BGKoIvYb.js"));
|
|
28415
28432
|
function createWorker() {
|
|
28416
28433
|
return new WorkerFactory();
|
|
28417
28434
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/neuroglancer",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.14",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"@janelia-flyem/react-neuroglancer": "2.5.0",
|
|
20
20
|
"@janelia-flyem/neuroglancer": "2.37.5",
|
|
21
21
|
"lodash-es": "^4.17.21",
|
|
22
|
-
"@vitessce/neuroglancer-workers": "3.6.
|
|
23
|
-
"@vitessce/styles": "3.6.
|
|
24
|
-
"@vitessce/constants-internal": "3.6.
|
|
25
|
-
"@vitessce/vit-s": "3.6.
|
|
26
|
-
"@vitessce/sets-utils": "3.6.
|
|
27
|
-
"@vitessce/utils": "3.6.
|
|
28
|
-
"@vitessce/tooltip": "3.6.
|
|
22
|
+
"@vitessce/neuroglancer-workers": "3.6.14",
|
|
23
|
+
"@vitessce/styles": "3.6.14",
|
|
24
|
+
"@vitessce/constants-internal": "3.6.14",
|
|
25
|
+
"@vitessce/vit-s": "3.6.14",
|
|
26
|
+
"@vitessce/sets-utils": "3.6.14",
|
|
27
|
+
"@vitessce/utils": "3.6.14",
|
|
28
|
+
"@vitessce/tooltip": "3.6.14"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@testing-library/jest-dom": "^6.6.3",
|