@vitessce/csv 3.8.1 → 3.8.3

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 +6 -6
package/dist/index.js CHANGED
@@ -437,6 +437,9 @@ const FileType$1 = {
437
437
  OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
438
438
  // GLB
439
439
  OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
440
+ // Neuroglancer
441
+ // Precomputed (mesh) format
442
+ OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
440
443
  // New file types to support old file types:
441
444
  // - cells.json
442
445
  OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
@@ -661,6 +664,7 @@ const CoordinationType$1 = {
661
664
  [FileType$1.OBS_LABELS_MUDATA_ZARR]: DataType$1.OBS_LABELS,
662
665
  [FileType$1.FEATURE_LABELS_MUDATA_ZARR]: DataType$1.FEATURE_LABELS,
663
666
  [FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$1.OBS_SEGMENTATIONS,
667
+ [FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$1.OBS_SEGMENTATIONS,
664
668
  [FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$1.IMAGE,
665
669
  [FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
666
670
  [FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$1.OBS_SEGMENTATIONS,
@@ -10903,6 +10907,18 @@ z.object({
10903
10907
  sceneScaleZ: z.number(),
10904
10908
  materialSide: z.enum(["front", "back"])
10905
10909
  }).partial().nullable();
10910
+ z.object({
10911
+ // TODO: Should this explicitly specify sharded vs. unsharded?
10912
+ // Or can/should that be inferred from the data?
10913
+ dimensionX: z.number(),
10914
+ dimensionY: z.number(),
10915
+ dimensionZ: z.number(),
10916
+ dimensionUnit: z.enum(["nm", "um", "µm", "mm", "cm", "m"]),
10917
+ // TODO: should the following be passed via coordination types instead?
10918
+ projectionScale: z.number(),
10919
+ position: z.array(z.number()).length(3),
10920
+ projectionOrientation: z.array(z.number()).length(4)
10921
+ }).partial().nullable();
10906
10922
  z.object({
10907
10923
  obsIndex: z.string(),
10908
10924
  obsEmbedding: z.array(z.string()).length(2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/csv",
3
- "version": "3.8.1",
3
+ "version": "3.8.3",
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/constants-internal": "3.8.1",
22
- "@vitessce/sets-utils": "3.8.1",
23
- "@vitessce/abstract": "3.8.1",
24
- "@vitessce/error": "3.8.1",
25
- "@vitessce/config": "3.8.1"
21
+ "@vitessce/constants-internal": "3.8.3",
22
+ "@vitessce/sets-utils": "3.8.3",
23
+ "@vitessce/abstract": "3.8.3",
24
+ "@vitessce/error": "3.8.3",
25
+ "@vitessce/config": "3.8.3"
26
26
  },
27
27
  "scripts": {
28
28
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",