@vitessce/sets-utils 3.3.4 → 3.3.5

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 +5 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -2426,9 +2426,6 @@ var pluralizeExports = pluralize.exports;
2426
2426
  const plur = /* @__PURE__ */ getDefaultExportFromCjs(pluralizeExports);
2427
2427
  plur.addPluralRule("glomerulus", "glomeruli");
2428
2428
  plur.addPluralRule("interstitium", "interstitia");
2429
- function fromEntries(iterable) {
2430
- return [...iterable].reduce((obj, { 0: key, 1: val }) => Object.assign(obj, { [key]: val }), {});
2431
- }
2432
2429
  function capitalize(word) {
2433
2430
  return word ? word.charAt(0).toUpperCase() + word.slice(1) : "";
2434
2431
  }
@@ -9050,6 +9047,7 @@ const FileType$1 = {
9050
9047
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
9051
9048
  // AnnData
9052
9049
  OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
9050
+ OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
9053
9051
  OBS_SETS_ANNDATA_ZARR: "obsSets.anndata.zarr",
9054
9052
  OBS_EMBEDDING_ANNDATA_ZARR: "obsEmbedding.anndata.zarr",
9055
9053
  OBS_SPOTS_ANNDATA_ZARR: "obsSpots.anndata.zarr",
@@ -9406,7 +9404,7 @@ function configSchemaToVersion(zodSchema) {
9406
9404
  return zodSchema.shape.version._def.value;
9407
9405
  }
9408
9406
  ({
9409
- ...fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
9407
+ ...Object.fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
9410
9408
  const version = configSchemaToVersion(zodSchema);
9411
9409
  return [version, zodSchema];
9412
9410
  })),
@@ -9482,6 +9480,9 @@ const annDataObsSets = z.array(z.object({
9482
9480
  ]),
9483
9481
  scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
9484
9482
  }));
9483
+ z.array(z.object({
9484
+ path: z.string()
9485
+ }));
9485
9486
  const annDataObsSpots = annDataObsm;
9486
9487
  const annDataObsPoints = annDataObsm;
9487
9488
  const annDataObsLocations = annDataObsm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/sets-utils",
3
- "version": "3.3.4",
3
+ "version": "3.3.5",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -25,8 +25,8 @@
25
25
  "lodash-es": "^4.17.21",
26
26
  "tinycolor2": "^1.4.1",
27
27
  "uuid": "^9.0.0",
28
- "@vitessce/schemas": "3.3.4",
29
- "@vitessce/utils": "3.3.4"
28
+ "@vitessce/schemas": "3.3.5",
29
+ "@vitessce/utils": "3.3.5"
30
30
  },
31
31
  "scripts": {
32
32
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",