@vitessce/scatterplot-embedding 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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-616c9001.js";
2
+ import { B as BaseDecoder } from "./index-b7514fa1.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -11049,6 +11049,9 @@ const FileType$1 = {
11049
11049
  // OME-Zarr
11050
11050
  IMAGE_OME_ZARR: "image.ome-zarr",
11051
11051
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
11052
+ // OME-Zarr - Zipped
11053
+ IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
11054
+ OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
11052
11055
  // AnnData
11053
11056
  OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
11054
11057
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
@@ -12005,24 +12008,29 @@ const imageOmeZarrSchema = z.object({
12005
12008
  imageOmeZarrSchema.extend({
12006
12009
  obsTypesFromChannelNames: z.boolean().optional()
12007
12010
  });
12008
- const imageSpatialdataSchema = imageOmeZarrSchema.extend({
12009
- path: z.string()
12011
+ const imageSpatialdataSchema = z.object({
12012
+ path: z.string(),
12013
+ 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.')
12010
12014
  });
12011
12015
  const obsSegmentationsSpatialdataSchema = z.object({
12012
- // TODO: should this also extend the imageOmeZarrSchema?
12013
12016
  // TODO: should this be renamed labelsSpatialdataSchema?
12014
12017
  // TODO: support obsTypesFromChannelNames?
12015
- path: z.string()
12018
+ path: z.string(),
12019
+ 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."),
12020
+ 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.')
12016
12021
  });
12017
12022
  z.object({
12018
- path: z.string()
12023
+ path: z.string(),
12024
+ 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.')
12019
12025
  });
12020
12026
  const obsSpotsSpatialdataSchema = z.object({
12021
12027
  path: z.string(),
12022
- 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.")
12028
+ 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."),
12029
+ 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.')
12023
12030
  });
12024
12031
  const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
12025
- region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
12032
+ region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
12033
+ 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.')
12026
12034
  });
12027
12035
  const obsSetsSpatialdataSchema = z.object({
12028
12036
  region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
@@ -12123,15 +12131,21 @@ anndataZarrSchema.extend({
12123
12131
  z.object({
12124
12132
  // TODO: should `image` be a special schema
12125
12133
  // to allow specifying fileUid (like for embeddingType)?
12134
+ // TODO: allow multiple images
12126
12135
  image: imageSpatialdataSchema,
12127
12136
  // TODO: should this be a special schema
12128
12137
  // to allow specifying fileUid (like for embeddingType)?
12138
+ // TODO: allow multiple labels
12129
12139
  labels: obsSegmentationsSpatialdataSchema,
12130
12140
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
12131
12141
  obsSpots: obsSpotsSpatialdataSchema,
12132
12142
  // TODO: obsPoints
12133
12143
  // TODO: obsLocations
12134
- obsSets: obsSetsSpatialdataSchema
12144
+ obsSets: obsSetsSpatialdataSchema,
12145
+ // TODO: obsEmbedding
12146
+ // TODO: obsLabels
12147
+ // TODO: featureLabels
12148
+ coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
12135
12149
  }).partial();
12136
12150
  z.object({
12137
12151
  obsLabelsTypes: z.array(z.string()).optional(),
@@ -123958,16 +123972,16 @@ function addDecoder(cases, importFn) {
123958
123972
  }
123959
123973
  cases.forEach((c2) => registry$1.set(c2, importFn));
123960
123974
  }
123961
- addDecoder([void 0, 1], () => import("./raw-e9fa39bf.js").then((m2) => m2.default));
123962
- addDecoder(5, () => import("./lzw-64a77c97.js").then((m2) => m2.default));
123975
+ addDecoder([void 0, 1], () => import("./raw-829ad888.js").then((m2) => m2.default));
123976
+ addDecoder(5, () => import("./lzw-e7ee88d7.js").then((m2) => m2.default));
123963
123977
  addDecoder(6, () => {
123964
123978
  throw new Error("old style JPEG compression is not supported.");
123965
123979
  });
123966
- addDecoder(7, () => import("./jpeg-b058e474.js").then((m2) => m2.default));
123967
- addDecoder([8, 32946], () => import("./deflate-c51c61e0.js").then((m2) => m2.default));
123968
- addDecoder(32773, () => import("./packbits-a8913205.js").then((m2) => m2.default));
123969
- addDecoder(34887, () => import("./lerc-c39dd0df.js").then((m2) => m2.default));
123970
- addDecoder(50001, () => import("./webimage-18d86ed2.js").then((m2) => m2.default));
123980
+ addDecoder(7, () => import("./jpeg-e3c6cd06.js").then((m2) => m2.default));
123981
+ addDecoder([8, 32946], () => import("./deflate-8db7a1fd.js").then((m2) => m2.default));
123982
+ addDecoder(32773, () => import("./packbits-b69fb1e8.js").then((m2) => m2.default));
123983
+ addDecoder(34887, () => import("./lerc-d255ce3d.js").then((m2) => m2.default));
123984
+ addDecoder(50001, () => import("./webimage-91330202.js").then((m2) => m2.default));
123971
123985
  function decodeRowAcc(row, stride) {
123972
123986
  let length2 = row.length - stride;
123973
123987
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E } from "./index-616c9001.js";
1
+ import { E } from "./index-b7514fa1.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-616c9001.js";
1
+ import { B as BaseDecoder } from "./index-b7514fa1.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-616c9001.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-b7514fa1.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-616c9001.js";
1
+ import { B as BaseDecoder } from "./index-b7514fa1.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-616c9001.js";
1
+ import { B as BaseDecoder } from "./index-b7514fa1.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-616c9001.js";
1
+ import { B as BaseDecoder } from "./index-b7514fa1.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-616c9001.js";
1
+ import { B as BaseDecoder } from "./index-b7514fa1.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/scatterplot-embedding",
3
- "version": "3.4.12",
3
+ "version": "3.4.14",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,12 +20,12 @@
20
20
  "d3-array": "^2.4.0",
21
21
  "lodash-es": "^4.17.21",
22
22
  "react-aria": "^3.28.0",
23
- "@vitessce/constants-internal": "3.4.12",
24
- "@vitessce/legend": "3.4.12",
25
- "@vitessce/scatterplot": "3.4.12",
26
- "@vitessce/sets-utils": "3.4.12",
27
- "@vitessce/utils": "3.4.12",
28
- "@vitessce/vit-s": "3.4.12"
23
+ "@vitessce/constants-internal": "3.4.14",
24
+ "@vitessce/legend": "3.4.14",
25
+ "@vitessce/scatterplot": "3.4.14",
26
+ "@vitessce/sets-utils": "3.4.14",
27
+ "@vitessce/utils": "3.4.14",
28
+ "@vitessce/vit-s": "3.4.14"
29
29
  },
30
30
  "devDependencies": {
31
31
  "react": "^18.0.0",