@vitessce/scatterplot-gating 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-c5949f9a.js";
2
+ import { B as BaseDecoder } from "./index-a7052125.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -11056,6 +11056,9 @@ const FileType$1 = {
11056
11056
  // OME-Zarr
11057
11057
  IMAGE_OME_ZARR: "image.ome-zarr",
11058
11058
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
11059
+ // OME-Zarr - Zipped
11060
+ IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
11061
+ OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
11059
11062
  // AnnData
11060
11063
  OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
11061
11064
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
@@ -12012,24 +12015,29 @@ const imageOmeZarrSchema = z.object({
12012
12015
  imageOmeZarrSchema.extend({
12013
12016
  obsTypesFromChannelNames: z.boolean().optional()
12014
12017
  });
12015
- const imageSpatialdataSchema = imageOmeZarrSchema.extend({
12016
- path: z.string()
12018
+ const imageSpatialdataSchema = z.object({
12019
+ path: z.string(),
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.')
12017
12021
  });
12018
12022
  const obsSegmentationsSpatialdataSchema = z.object({
12019
- // TODO: should this also extend the imageOmeZarrSchema?
12020
12023
  // TODO: should this be renamed labelsSpatialdataSchema?
12021
12024
  // TODO: support obsTypesFromChannelNames?
12022
- path: z.string()
12025
+ path: z.string(),
12026
+ 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."),
12027
+ 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.')
12023
12028
  });
12024
12029
  z.object({
12025
- path: z.string()
12030
+ path: z.string(),
12031
+ 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.')
12026
12032
  });
12027
12033
  const obsSpotsSpatialdataSchema = z.object({
12028
12034
  path: z.string(),
12029
- 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.")
12035
+ 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."),
12036
+ 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.')
12030
12037
  });
12031
12038
  const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
12032
- region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
12039
+ region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
12040
+ 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.')
12033
12041
  });
12034
12042
  const obsSetsSpatialdataSchema = z.object({
12035
12043
  region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
@@ -12130,15 +12138,21 @@ anndataZarrSchema.extend({
12130
12138
  z.object({
12131
12139
  // TODO: should `image` be a special schema
12132
12140
  // to allow specifying fileUid (like for embeddingType)?
12141
+ // TODO: allow multiple images
12133
12142
  image: imageSpatialdataSchema,
12134
12143
  // TODO: should this be a special schema
12135
12144
  // to allow specifying fileUid (like for embeddingType)?
12145
+ // TODO: allow multiple labels
12136
12146
  labels: obsSegmentationsSpatialdataSchema,
12137
12147
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
12138
12148
  obsSpots: obsSpotsSpatialdataSchema,
12139
12149
  // TODO: obsPoints
12140
12150
  // TODO: obsLocations
12141
- obsSets: obsSetsSpatialdataSchema
12151
+ obsSets: obsSetsSpatialdataSchema,
12152
+ // TODO: obsEmbedding
12153
+ // TODO: obsLabels
12154
+ // TODO: featureLabels
12155
+ coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
12142
12156
  }).partial();
12143
12157
  z.object({
12144
12158
  obsLabelsTypes: z.array(z.string()).optional(),
@@ -123811,16 +123825,16 @@ function addDecoder(cases, importFn) {
123811
123825
  }
123812
123826
  cases.forEach((c2) => registry$1.set(c2, importFn));
123813
123827
  }
123814
- addDecoder([void 0, 1], () => import("./raw-61e39bd3.js").then((m2) => m2.default));
123815
- addDecoder(5, () => import("./lzw-857aa477.js").then((m2) => m2.default));
123828
+ addDecoder([void 0, 1], () => import("./raw-a4debd6c.js").then((m2) => m2.default));
123829
+ addDecoder(5, () => import("./lzw-9f52473a.js").then((m2) => m2.default));
123816
123830
  addDecoder(6, () => {
123817
123831
  throw new Error("old style JPEG compression is not supported.");
123818
123832
  });
123819
- addDecoder(7, () => import("./jpeg-7e5e6ad5.js").then((m2) => m2.default));
123820
- addDecoder([8, 32946], () => import("./deflate-acef7820.js").then((m2) => m2.default));
123821
- addDecoder(32773, () => import("./packbits-f7f733c7.js").then((m2) => m2.default));
123822
- addDecoder(34887, () => import("./lerc-94ffa556.js").then((m2) => m2.default));
123823
- addDecoder(50001, () => import("./webimage-a60dfc27.js").then((m2) => m2.default));
123833
+ addDecoder(7, () => import("./jpeg-d0bd0dbe.js").then((m2) => m2.default));
123834
+ addDecoder([8, 32946], () => import("./deflate-cf02d134.js").then((m2) => m2.default));
123835
+ addDecoder(32773, () => import("./packbits-88231270.js").then((m2) => m2.default));
123836
+ addDecoder(34887, () => import("./lerc-776d0184.js").then((m2) => m2.default));
123837
+ addDecoder(50001, () => import("./webimage-8270872a.js").then((m2) => m2.default));
123824
123838
  function decodeRowAcc(row, stride) {
123825
123839
  let length2 = row.length - stride;
123826
123840
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G } from "./index-c5949f9a.js";
1
+ import { G } from "./index-a7052125.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-c5949f9a.js";
1
+ import { B as BaseDecoder } from "./index-a7052125.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-c5949f9a.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-a7052125.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-c5949f9a.js";
1
+ import { B as BaseDecoder } from "./index-a7052125.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-c5949f9a.js";
1
+ import { B as BaseDecoder } from "./index-a7052125.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-c5949f9a.js";
1
+ import { B as BaseDecoder } from "./index-a7052125.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-c5949f9a.js";
1
+ import { B as BaseDecoder } from "./index-a7052125.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-gating",
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,11 +20,11 @@
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/scatterplot": "3.4.12",
25
- "@vitessce/sets-utils": "3.4.12",
26
- "@vitessce/utils": "3.4.12",
27
- "@vitessce/vit-s": "3.4.12"
23
+ "@vitessce/constants-internal": "3.4.14",
24
+ "@vitessce/scatterplot": "3.4.14",
25
+ "@vitessce/sets-utils": "3.4.14",
26
+ "@vitessce/utils": "3.4.14",
27
+ "@vitessce/vit-s": "3.4.14"
28
28
  },
29
29
  "devDependencies": {
30
30
  "react": "^18.0.0",