@vitessce/scatterplot-gating 3.6.3 → 3.6.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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-CtYW3uYF.js";
2
+ import { B as BaseDecoder } from "./index-Ceq7OIVC.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -9491,6 +9491,7 @@ const FileType$1 = {
9491
9491
  ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
9492
9492
  ANNDATA_H5AD: "anndata.h5ad",
9493
9493
  SPATIALDATA_ZARR: "spatialdata.zarr",
9494
+ SPATIALDATA_ZARR_ZIP: "spatialdata.zarr.zip",
9494
9495
  // Atomic file types
9495
9496
  OBS_EMBEDDING_CSV: "obsEmbedding.csv",
9496
9497
  OBS_SPOTS_CSV: "obsSpots.csv",
@@ -9571,6 +9572,14 @@ const FileType$1 = {
9571
9572
  // TODO:
9572
9573
  // OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
9573
9574
  // OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
9575
+ // SpatialData - zipped
9576
+ IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
9577
+ LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
9578
+ SHAPES_SPATIALDATA_ZARR_ZIP: "shapes.spatialdata.zarr.zip",
9579
+ OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP: "obsFeatureMatrix.spatialdata.zarr.zip",
9580
+ OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
9581
+ OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
9582
+ FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
9574
9583
  // MuData
9575
9584
  OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
9576
9585
  OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
@@ -9971,6 +9980,28 @@ const ViewHelpMapping = {
9971
9980
  },
9972
9981
  [FileType$1.OBS_SEGMENTATIONS_OME_ZARR]: {
9973
9982
  zip: FileType$1.OBS_SEGMENTATIONS_OME_ZARR_ZIP
9983
+ },
9984
+ // For SpatialData:
9985
+ [FileType$1.IMAGE_SPATIALDATA_ZARR]: {
9986
+ zip: FileType$1.IMAGE_SPATIALDATA_ZARR_ZIP
9987
+ },
9988
+ [FileType$1.LABELS_SPATIALDATA_ZARR]: {
9989
+ zip: FileType$1.LABELS_SPATIALDATA_ZARR_ZIP
9990
+ },
9991
+ [FileType$1.SHAPES_SPATIALDATA_ZARR]: {
9992
+ zip: FileType$1.SHAPES_SPATIALDATA_ZARR_ZIP
9993
+ },
9994
+ [FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: {
9995
+ zip: FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP
9996
+ },
9997
+ [FileType$1.OBS_SETS_SPATIALDATA_ZARR]: {
9998
+ zip: FileType$1.OBS_SETS_SPATIALDATA_ZARR_ZIP
9999
+ },
10000
+ [FileType$1.OBS_SPOTS_SPATIALDATA_ZARR]: {
10001
+ zip: FileType$1.OBS_SPOTS_SPATIALDATA_ZARR_ZIP
10002
+ },
10003
+ [FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: {
10004
+ zip: FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
9974
10005
  }
9975
10006
  });
9976
10007
  [
@@ -11091,6 +11122,7 @@ const anndataZarrSchema = z.object({
11091
11122
  z.array(annDataConvenienceFeatureLabelsItem)
11092
11123
  ]),
11093
11124
  obsFeatureMatrix: annDataObsFeatureMatrix,
11125
+ obsFeatureColumns: annDataObsFeatureColumnsArr,
11094
11126
  obsSets: annDataObsSetsArr,
11095
11127
  obsSpots: annDataObsSpots,
11096
11128
  obsPoints: annDataObsPoints,
@@ -11108,12 +11140,17 @@ anndataZarrSchema.extend({
11108
11140
  z.object({
11109
11141
  // TODO: should `image` be a special schema
11110
11142
  // to allow specifying fileUid (like for embeddingType)?
11111
- // TODO: allow multiple images
11143
+ // TODO: allow multiple images?
11112
11144
  image: imageSpatialdataSchema,
11113
11145
  // TODO: should this be a special schema
11114
11146
  // to allow specifying fileUid (like for embeddingType)?
11115
- // TODO: allow multiple labels
11147
+ // TODO: allow multiple labels?
11116
11148
  labels: obsSegmentationsSpatialdataSchema,
11149
+ // TODO: allow multiple shapes?
11150
+ // TODO: unify labels and shapes to obsSegmentations,
11151
+ // then distinguish in expand function based on
11152
+ // "labels/*" vs. "shapes/*" in path?
11153
+ shapes: obsSegmentationsSpatialdataSchema,
11117
11154
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
11118
11155
  obsSpots: obsSpotsSpatialdataSchema,
11119
11156
  // TODO: obsPoints
@@ -123014,22 +123051,22 @@ function addDecoder(cases, importFn) {
123014
123051
  }
123015
123052
  cases.forEach((c2) => registry$1.set(c2, importFn));
123016
123053
  }
123017
- addDecoder([void 0, 1], () => import("./raw-Dx-ICYFx.js").then((m2) => m2.default));
123018
- addDecoder(5, () => import("./lzw-DEryNdqR.js").then((m2) => m2.default));
123054
+ addDecoder([void 0, 1], () => import("./raw-DtEUssqa.js").then((m2) => m2.default));
123055
+ addDecoder(5, () => import("./lzw-DxtPY-6B.js").then((m2) => m2.default));
123019
123056
  addDecoder(6, () => {
123020
123057
  throw new Error("old style JPEG compression is not supported.");
123021
123058
  });
123022
- addDecoder(7, () => import("./jpeg-Ce518Uak.js").then((m2) => m2.default));
123023
- addDecoder([8, 32946], () => import("./deflate-BjzQymM8.js").then((m2) => m2.default));
123024
- addDecoder(32773, () => import("./packbits-DWz1DQXr.js").then((m2) => m2.default));
123059
+ addDecoder(7, () => import("./jpeg-BIWhN5Z_.js").then((m2) => m2.default));
123060
+ addDecoder([8, 32946], () => import("./deflate-0khwfeEa.js").then((m2) => m2.default));
123061
+ addDecoder(32773, () => import("./packbits-BwpCwQeA.js").then((m2) => m2.default));
123025
123062
  addDecoder(
123026
123063
  34887,
123027
- () => import("./lerc-BcQ6Ts6j.js").then(async (m2) => {
123064
+ () => import("./lerc-F_eWR4uk.js").then(async (m2) => {
123028
123065
  await m2.zstd.init();
123029
123066
  return m2;
123030
123067
  }).then((m2) => m2.default)
123031
123068
  );
123032
- addDecoder(50001, () => import("./webimage-ChihBi2A.js").then((m2) => m2.default));
123069
+ addDecoder(50001, () => import("./webimage-DTHl4ms3.js").then((m2) => m2.default));
123033
123070
  function decodeRowAcc(row, stride) {
123034
123071
  let length2 = row.length - stride;
123035
123072
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G } from "./index-CtYW3uYF.js";
1
+ import { G } from "./index-Ceq7OIVC.js";
2
2
  export {
3
3
  G as GatingSubscriber
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CtYW3uYF.js";
1
+ import { B as BaseDecoder } from "./index-Ceq7OIVC.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-CtYW3uYF.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-Ceq7OIVC.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CtYW3uYF.js";
1
+ import { B as BaseDecoder } from "./index-Ceq7OIVC.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CtYW3uYF.js";
1
+ import { B as BaseDecoder } from "./index-Ceq7OIVC.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CtYW3uYF.js";
1
+ import { B as BaseDecoder } from "./index-Ceq7OIVC.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CtYW3uYF.js";
1
+ import { B as BaseDecoder } from "./index-Ceq7OIVC.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/scatterplot-gating",
3
- "version": "3.6.3",
3
+ "version": "3.6.5",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -19,12 +19,12 @@
19
19
  "d3-array": "^2.4.0",
20
20
  "lodash-es": "^4.17.21",
21
21
  "react-aria": "^3.28.0",
22
- "@vitessce/styles": "3.6.3",
23
- "@vitessce/constants-internal": "3.6.3",
24
- "@vitessce/scatterplot": "3.6.3",
25
- "@vitessce/sets-utils": "3.6.3",
26
- "@vitessce/utils": "3.6.3",
27
- "@vitessce/vit-s": "3.6.3"
22
+ "@vitessce/styles": "3.6.5",
23
+ "@vitessce/constants-internal": "3.6.5",
24
+ "@vitessce/scatterplot": "3.6.5",
25
+ "@vitessce/sets-utils": "3.6.5",
26
+ "@vitessce/utils": "3.6.5",
27
+ "@vitessce/vit-s": "3.6.5"
28
28
  },
29
29
  "devDependencies": {
30
30
  "react": "^18.0.0",