@vitessce/csv 3.4.12 → 3.4.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.
Files changed (2) hide show
  1. package/dist/index.js +22 -8
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -303,6 +303,9 @@ const FileType$1 = {
303
303
  // OME-Zarr
304
304
  IMAGE_OME_ZARR: "image.ome-zarr",
305
305
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
306
+ // OME-Zarr - Zipped
307
+ IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
308
+ OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
306
309
  // AnnData
307
310
  OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
308
311
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
@@ -9861,24 +9864,29 @@ const imageOmeZarrSchema = z.object({
9861
9864
  imageOmeZarrSchema.extend({
9862
9865
  obsTypesFromChannelNames: z.boolean().optional()
9863
9866
  });
9864
- const imageSpatialdataSchema = imageOmeZarrSchema.extend({
9865
- path: z.string()
9867
+ const imageSpatialdataSchema = z.object({
9868
+ path: z.string(),
9869
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
9866
9870
  });
9867
9871
  const obsSegmentationsSpatialdataSchema = z.object({
9868
- // TODO: should this also extend the imageOmeZarrSchema?
9869
9872
  // TODO: should this be renamed labelsSpatialdataSchema?
9870
9873
  // TODO: support obsTypesFromChannelNames?
9871
- path: z.string()
9874
+ path: z.string(),
9875
+ tablePath: z.string().optional().describe("The path to a table which annotates the labels. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
9876
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
9872
9877
  });
9873
9878
  z.object({
9874
- path: z.string()
9879
+ path: z.string(),
9880
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates. If not provided, the "global" coordinate system is assumed.')
9875
9881
  });
9876
9882
  const obsSpotsSpatialdataSchema = z.object({
9877
9883
  path: z.string(),
9878
- tablePath: z.string().optional().describe("The path to a table which annotates the spots. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.")
9884
+ tablePath: z.string().optional().describe("The path to a table which annotates the spots. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
9885
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates and radii. If not provided, the "global" coordinate system is assumed.')
9879
9886
  });
9880
9887
  const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
9881
- region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
9888
+ region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
9889
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
9882
9890
  });
9883
9891
  const obsSetsSpatialdataSchema = z.object({
9884
9892
  region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
@@ -9979,15 +9987,21 @@ anndataZarrSchema.extend({
9979
9987
  z.object({
9980
9988
  // TODO: should `image` be a special schema
9981
9989
  // to allow specifying fileUid (like for embeddingType)?
9990
+ // TODO: allow multiple images
9982
9991
  image: imageSpatialdataSchema,
9983
9992
  // TODO: should this be a special schema
9984
9993
  // to allow specifying fileUid (like for embeddingType)?
9994
+ // TODO: allow multiple labels
9985
9995
  labels: obsSegmentationsSpatialdataSchema,
9986
9996
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
9987
9997
  obsSpots: obsSpotsSpatialdataSchema,
9988
9998
  // TODO: obsPoints
9989
9999
  // TODO: obsLocations
9990
- obsSets: obsSetsSpatialdataSchema
10000
+ obsSets: obsSetsSpatialdataSchema,
10001
+ // TODO: obsEmbedding
10002
+ // TODO: obsLabels
10003
+ // TODO: featureLabels
10004
+ coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
9991
10005
  }).partial();
9992
10006
  z.object({
9993
10007
  obsLabelsTypes: z.array(z.string()).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/csv",
3
- "version": "3.4.12",
3
+ "version": "3.4.14",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,10 +18,10 @@
18
18
  "dependencies": {
19
19
  "d3-array": "^2.4.0",
20
20
  "d3-dsv": "^1.1.1",
21
- "@vitessce/constants-internal": "3.4.12",
22
- "@vitessce/sets-utils": "3.4.12",
23
- "@vitessce/vit-s": "3.4.12",
24
- "@vitessce/config": "3.4.12"
21
+ "@vitessce/constants-internal": "3.4.14",
22
+ "@vitessce/sets-utils": "3.4.14",
23
+ "@vitessce/vit-s": "3.4.14",
24
+ "@vitessce/config": "3.4.14"
25
25
  },
26
26
  "scripts": {
27
27
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",