@vitessce/sets-utils 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.
Files changed (2) hide show
  1. package/dist/index.js +16 -0
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -9198,6 +9198,9 @@ const FileType$1 = {
9198
9198
  OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
9199
9199
  // GLB
9200
9200
  OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
9201
+ // Neuroglancer
9202
+ // Precomputed (mesh) format
9203
+ OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
9201
9204
  // New file types to support old file types:
9202
9205
  // - cells.json
9203
9206
  OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
@@ -9422,6 +9425,7 @@ const CoordinationType$1 = {
9422
9425
  [FileType$1.OBS_LABELS_MUDATA_ZARR]: DataType$1.OBS_LABELS,
9423
9426
  [FileType$1.FEATURE_LABELS_MUDATA_ZARR]: DataType$1.FEATURE_LABELS,
9424
9427
  [FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$1.OBS_SEGMENTATIONS,
9428
+ [FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$1.OBS_SEGMENTATIONS,
9425
9429
  [FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$1.IMAGE,
9426
9430
  [FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
9427
9431
  [FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
@@ -10685,6 +10689,18 @@ z.object({
10685
10689
  sceneScaleZ: z.number(),
10686
10690
  materialSide: z.enum(["front", "back"])
10687
10691
  }).partial().nullable();
10692
+ z.object({
10693
+ // TODO: Should this explicitly specify sharded vs. unsharded?
10694
+ // Or can/should that be inferred from the data?
10695
+ dimensionX: z.number(),
10696
+ dimensionY: z.number(),
10697
+ dimensionZ: z.number(),
10698
+ dimensionUnit: z.enum(["nm", "um", "µm", "mm", "cm", "m"]),
10699
+ // TODO: should the following be passed via coordination types instead?
10700
+ projectionScale: z.number(),
10701
+ position: z.array(z.number()).length(3),
10702
+ projectionOrientation: z.array(z.number()).length(4)
10703
+ }).partial().nullable();
10688
10704
  z.object({
10689
10705
  obsIndex: z.string(),
10690
10706
  obsEmbedding: z.array(z.string()).length(2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/sets-utils",
3
- "version": "3.8.1",
3
+ "version": "3.8.2",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -25,9 +25,9 @@
25
25
  "lodash-es": "^4.17.21",
26
26
  "tinycolor2": "^1.4.1",
27
27
  "uuid": "^9.0.0",
28
- "@vitessce/schemas": "3.8.1",
29
- "@vitessce/utils": "3.8.1",
30
- "@vitessce/globals": "3.8.1"
28
+ "@vitessce/schemas": "3.8.2",
29
+ "@vitessce/utils": "3.8.2",
30
+ "@vitessce/globals": "3.8.2"
31
31
  },
32
32
  "scripts": {
33
33
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",