@vitessce/vit-s 3.4.11 → 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 +28 -13
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -27960,6 +27960,9 @@ const FileType$1 = {
27960
27960
  // OME-Zarr
27961
27961
  IMAGE_OME_ZARR: "image.ome-zarr",
27962
27962
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
27963
+ // OME-Zarr - Zipped
27964
+ IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
27965
+ OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
27963
27966
  // AnnData
27964
27967
  OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
27965
27968
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
@@ -28066,6 +28069,7 @@ const CoordinationType$1 = {
28066
28069
  FEATURE_TYPE: "featureType",
28067
28070
  FEATURE_VALUE_TYPE: "featureValueType",
28068
28071
  OBS_LABELS_TYPE: "obsLabelsType",
28072
+ FEATURE_LABELS_TYPE: "featureLabelsType",
28069
28073
  // Other types
28070
28074
  EMBEDDING_TYPE: "embeddingType",
28071
28075
  EMBEDDING_ZOOM: "embeddingZoom",
@@ -28247,10 +28251,10 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
28247
28251
  CoordinationType$1.EMBEDDING_OBS_OPACITY
28248
28252
  ];
28249
28253
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
28250
- const version = "3.4.11";
28251
- const date = "2024-09-27";
28254
+ const version = "3.4.14";
28255
+ const date = "2024-10-07";
28252
28256
  const branch = "changeset-release/main";
28253
- const hash = "efd7d698";
28257
+ const hash = "f416e01c";
28254
28258
  const META_VERSION = {
28255
28259
  note,
28256
28260
  version,
@@ -28590,7 +28594,7 @@ const annDataObsSetsArr = z.array(z.object({
28590
28594
  ]),
28591
28595
  scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
28592
28596
  }));
28593
- const annDataObsSets = z.object({
28597
+ z.object({
28594
28598
  obsSets: annDataObsSetsArr
28595
28599
  });
28596
28600
  const annDataObsFeatureColumnsArr = z.array(z.object({
@@ -28630,29 +28634,34 @@ const imageOmeZarrSchema = z.object({
28630
28634
  imageOmeZarrSchema.extend({
28631
28635
  obsTypesFromChannelNames: z.boolean().optional()
28632
28636
  });
28633
- const imageSpatialdataSchema = imageOmeZarrSchema.extend({
28634
- path: z.string()
28637
+ const imageSpatialdataSchema = z.object({
28638
+ path: z.string(),
28639
+ 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.')
28635
28640
  });
28636
28641
  const obsSegmentationsSpatialdataSchema = z.object({
28637
- // TODO: should this also extend the imageOmeZarrSchema?
28638
28642
  // TODO: should this be renamed labelsSpatialdataSchema?
28639
28643
  // TODO: support obsTypesFromChannelNames?
28640
- path: z.string()
28644
+ path: z.string(),
28645
+ 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."),
28646
+ 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.')
28641
28647
  });
28642
28648
  z.object({
28643
- path: z.string()
28649
+ path: z.string(),
28650
+ 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.')
28644
28651
  });
28645
28652
  const obsSpotsSpatialdataSchema = z.object({
28646
28653
  path: z.string(),
28647
- 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.")
28654
+ 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."),
28655
+ 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.')
28648
28656
  });
28649
28657
  const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
28650
- region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
28658
+ region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
28659
+ 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.')
28651
28660
  });
28652
28661
  const obsSetsSpatialdataSchema = z.object({
28653
28662
  region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
28654
28663
  tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
28655
- obsSets: annDataObsSets
28664
+ obsSets: annDataObsSetsArr
28656
28665
  });
28657
28666
  z.object({
28658
28667
  targetX: z.number(),
@@ -28748,15 +28757,21 @@ anndataZarrSchema.extend({
28748
28757
  z.object({
28749
28758
  // TODO: should `image` be a special schema
28750
28759
  // to allow specifying fileUid (like for embeddingType)?
28760
+ // TODO: allow multiple images
28751
28761
  image: imageSpatialdataSchema,
28752
28762
  // TODO: should this be a special schema
28753
28763
  // to allow specifying fileUid (like for embeddingType)?
28764
+ // TODO: allow multiple labels
28754
28765
  labels: obsSegmentationsSpatialdataSchema,
28755
28766
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
28756
28767
  obsSpots: obsSpotsSpatialdataSchema,
28757
28768
  // TODO: obsPoints
28758
28769
  // TODO: obsLocations
28759
- obsSets: obsSetsSpatialdataSchema
28770
+ obsSets: obsSetsSpatialdataSchema,
28771
+ // TODO: obsEmbedding
28772
+ // TODO: obsLabels
28773
+ // TODO: featureLabels
28774
+ coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
28760
28775
  }).partial();
28761
28776
  z.object({
28762
28777
  obsLabelsTypes: z.array(z.string()).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/vit-s",
3
- "version": "3.4.11",
3
+ "version": "3.4.14",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -29,12 +29,12 @@
29
29
  "uuid": "^9.0.0",
30
30
  "zustand": "^3.5.10",
31
31
  "react-aria": "^3.28.0",
32
- "@vitessce/constants-internal": "3.4.11",
33
- "@vitessce/plugins": "3.4.11",
34
- "@vitessce/schemas": "3.4.11",
35
- "@vitessce/utils": "3.4.11",
36
- "@vitessce/sets-utils": "3.4.11",
37
- "@vitessce/config": "3.4.11"
32
+ "@vitessce/constants-internal": "3.4.14",
33
+ "@vitessce/plugins": "3.4.14",
34
+ "@vitessce/schemas": "3.4.14",
35
+ "@vitessce/utils": "3.4.14",
36
+ "@vitessce/sets-utils": "3.4.14",
37
+ "@vitessce/config": "3.4.14"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@testing-library/jest-dom": "^5.16.4",
@@ -42,7 +42,7 @@
42
42
  "react": "^18.0.0",
43
43
  "vite": "^4.3.0",
44
44
  "vitest": "^0.32.2",
45
- "@vitessce/types": "3.4.11"
45
+ "@vitessce/types": "3.4.14"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0"