@vitessce/zarr 3.8.1 → 3.8.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 +17 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -1210,7 +1210,7 @@ class Location {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
resolve(path) {
|
|
1212
1212
|
let root2 = new URL(`file://${this.path.endsWith("/") ? this.path : `${this.path}/`}`);
|
|
1213
|
-
return new Location(this.store, new URL(path, root2).pathname);
|
|
1213
|
+
return new Location(this.store, decodeURIComponent(new URL(path, root2).pathname));
|
|
1214
1214
|
}
|
|
1215
1215
|
}
|
|
1216
1216
|
function root$1(store) {
|
|
@@ -4160,6 +4160,9 @@ const FileType$1 = {
|
|
|
4160
4160
|
OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
|
|
4161
4161
|
// GLB
|
|
4162
4162
|
OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
|
|
4163
|
+
// Neuroglancer
|
|
4164
|
+
// Precomputed (mesh) format
|
|
4165
|
+
OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
|
|
4163
4166
|
// New file types to support old file types:
|
|
4164
4167
|
// - cells.json
|
|
4165
4168
|
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
@@ -4384,6 +4387,7 @@ const CoordinationType$1 = {
|
|
|
4384
4387
|
[FileType$1.OBS_LABELS_MUDATA_ZARR]: DataType$1.OBS_LABELS,
|
|
4385
4388
|
[FileType$1.FEATURE_LABELS_MUDATA_ZARR]: DataType$1.FEATURE_LABELS,
|
|
4386
4389
|
[FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$1.OBS_SEGMENTATIONS,
|
|
4390
|
+
[FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$1.OBS_SEGMENTATIONS,
|
|
4387
4391
|
[FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$1.IMAGE,
|
|
4388
4392
|
[FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
|
|
4389
4393
|
[FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
|
|
@@ -14439,6 +14443,18 @@ z.object({
|
|
|
14439
14443
|
sceneScaleZ: z.number(),
|
|
14440
14444
|
materialSide: z.enum(["front", "back"])
|
|
14441
14445
|
}).partial().nullable();
|
|
14446
|
+
z.object({
|
|
14447
|
+
// TODO: Should this explicitly specify sharded vs. unsharded?
|
|
14448
|
+
// Or can/should that be inferred from the data?
|
|
14449
|
+
dimensionX: z.number(),
|
|
14450
|
+
dimensionY: z.number(),
|
|
14451
|
+
dimensionZ: z.number(),
|
|
14452
|
+
dimensionUnit: z.enum(["nm", "um", "µm", "mm", "cm", "m"]),
|
|
14453
|
+
// TODO: should the following be passed via coordination types instead?
|
|
14454
|
+
projectionScale: z.number(),
|
|
14455
|
+
position: z.array(z.number()).length(3),
|
|
14456
|
+
projectionOrientation: z.array(z.number()).length(4)
|
|
14457
|
+
}).partial().nullable();
|
|
14442
14458
|
z.object({
|
|
14443
14459
|
obsIndex: z.string(),
|
|
14444
14460
|
obsEmbedding: z.array(z.string()).length(2)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/zarr",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.2",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -18,22 +18,22 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"d3-array": "^2.4.0",
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
|
-
"zarrita": "0.5.
|
|
21
|
+
"zarrita": "0.5.4",
|
|
22
22
|
"apache-arrow": "^17.0.0",
|
|
23
23
|
"parquet-wasm": "^0.6.1",
|
|
24
24
|
"ol": "^10.2.1",
|
|
25
|
-
"@vitessce/abstract": "3.8.
|
|
26
|
-
"@vitessce/error": "3.8.
|
|
27
|
-
"@vitessce/constants-internal": "3.8.
|
|
28
|
-
"@vitessce/sets-utils": "3.8.
|
|
29
|
-
"@vitessce/image-utils": "3.8.
|
|
30
|
-
"@vitessce/utils": "3.8.
|
|
31
|
-
"@vitessce/zarr-utils": "3.8.
|
|
32
|
-
"@vitessce/config": "3.8.
|
|
33
|
-
"@vitessce/globals": "3.8.
|
|
25
|
+
"@vitessce/abstract": "3.8.2",
|
|
26
|
+
"@vitessce/error": "3.8.2",
|
|
27
|
+
"@vitessce/constants-internal": "3.8.2",
|
|
28
|
+
"@vitessce/sets-utils": "3.8.2",
|
|
29
|
+
"@vitessce/image-utils": "3.8.2",
|
|
30
|
+
"@vitessce/utils": "3.8.2",
|
|
31
|
+
"@vitessce/zarr-utils": "3.8.2",
|
|
32
|
+
"@vitessce/config": "3.8.2",
|
|
33
|
+
"@vitessce/globals": "3.8.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@vitessce/types": "3.8.
|
|
36
|
+
"@vitessce/types": "3.8.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
|