@vitessce/zarr 3.4.10 → 3.4.12

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-010ccee4.js";
2
+ import { B as BaseDecoder } from "./index-b9ca46db.js";
3
3
  import "@vitessce/vit-s";
4
4
  import "react";
5
5
  class DeflateDecoder extends BaseDecoder {
@@ -3990,6 +3990,7 @@ const CoordinationType$1 = {
3990
3990
  FEATURE_TYPE: "featureType",
3991
3991
  FEATURE_VALUE_TYPE: "featureValueType",
3992
3992
  OBS_LABELS_TYPE: "obsLabelsType",
3993
+ FEATURE_LABELS_TYPE: "featureLabelsType",
3993
3994
  // Other types
3994
3995
  EMBEDDING_TYPE: "embeddingType",
3995
3996
  EMBEDDING_ZOOM: "embeddingZoom",
@@ -123785,16 +123786,16 @@ function addDecoder(cases, importFn) {
123785
123786
  }
123786
123787
  cases.forEach((c) => registry$1.set(c, importFn));
123787
123788
  }
123788
- addDecoder([void 0, 1], () => import("./raw-1e87ff8b.js").then((m) => m.default));
123789
- addDecoder(5, () => import("./lzw-ed481c3b.js").then((m) => m.default));
123789
+ addDecoder([void 0, 1], () => import("./raw-269a3143.js").then((m) => m.default));
123790
+ addDecoder(5, () => import("./lzw-7e525855.js").then((m) => m.default));
123790
123791
  addDecoder(6, () => {
123791
123792
  throw new Error("old style JPEG compression is not supported.");
123792
123793
  });
123793
- addDecoder(7, () => import("./jpeg-96acb184.js").then((m) => m.default));
123794
- addDecoder([8, 32946], () => import("./deflate-f092f055.js").then((m) => m.default));
123795
- addDecoder(32773, () => import("./packbits-14e4265c.js").then((m) => m.default));
123796
- addDecoder(34887, () => import("./lerc-41914740.js").then((m) => m.default));
123797
- addDecoder(50001, () => import("./webimage-df74a5df.js").then((m) => m.default));
123794
+ addDecoder(7, () => import("./jpeg-7300e0c0.js").then((m) => m.default));
123795
+ addDecoder([8, 32946], () => import("./deflate-0a2495db.js").then((m) => m.default));
123796
+ addDecoder(32773, () => import("./packbits-7dbd57b5.js").then((m) => m.default));
123797
+ addDecoder(34887, () => import("./lerc-98ac4137.js").then((m) => m.default));
123798
+ addDecoder(50001, () => import("./webimage-8f0f4c44.js").then((m) => m.default));
123798
123799
  function decodeRowAcc(row, stride) {
123799
123800
  let length2 = row.length - stride;
123800
123801
  let offset = 0;
@@ -142437,7 +142438,7 @@ const annDataObsSetsArr = z.array(z.object({
142437
142438
  ]),
142438
142439
  scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
142439
142440
  }));
142440
- const annDataObsSets = z.object({
142441
+ z.object({
142441
142442
  obsSets: annDataObsSetsArr
142442
142443
  });
142443
142444
  const annDataObsFeatureColumnsArr = z.array(z.object({
@@ -142499,7 +142500,7 @@ const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
142499
142500
  const obsSetsSpatialdataSchema = z.object({
142500
142501
  region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
142501
142502
  tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
142502
- obsSets: annDataObsSets
142503
+ obsSets: annDataObsSetsArr
142503
142504
  });
142504
142505
  z.object({
142505
142506
  targetX: z.number(),
@@ -150173,7 +150174,6 @@ class SpatialDataObsSetsLoader extends ObsSetsAnndataLoader {
150173
150174
  constructor(dataSource, params) {
150174
150175
  super(dataSource, params);
150175
150176
  this.region = this.options.region;
150176
- this.options = this.options.obsSets;
150177
150177
  }
150178
150178
  }
150179
150179
  class GenomicProfilesZarrLoader extends AbstractTwoStepLoader {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, F, G, b, M, c, k, O, j, f, e, h, i, d, n, m, l, o, p, r, q, a, S, Z } from "./index-010ccee4.js";
1
+ import { A, F, G, b, M, c, k, O, j, f, e, h, i, d, n, m, l, o, p, r, q, a, S, Z } from "./index-b9ca46db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-010ccee4.js";
1
+ import { B as BaseDecoder } from "./index-b9ca46db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  const dctZigZag = new Int32Array([
@@ -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-010ccee4.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-b9ca46db.js";
3
3
  import "@vitessce/vit-s";
4
4
  import "react";
5
5
  const LercParameters = {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-010ccee4.js";
1
+ import { B as BaseDecoder } from "./index-b9ca46db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-010ccee4.js";
1
+ import { B as BaseDecoder } from "./index-b9ca46db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-010ccee4.js";
1
+ import { B as BaseDecoder } from "./index-b9ca46db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-010ccee4.js";
1
+ import { B as BaseDecoder } from "./index-b9ca46db.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  class WebImageDecoder extends BaseDecoder {
@@ -1 +1 @@
1
- {"version":3,"file":"SpatialDataObsSetsLoader.d.ts","sourceRoot":"","sources":["../../src/spatialdata-loaders/SpatialDataObsSetsLoader.js"],"names":[],"mappings":"AAEA;;KAEK;AACL;IACE,0CAIC;IAFC,YAAiC;CAGpC;iCAXgC,4CAA4C"}
1
+ {"version":3,"file":"SpatialDataObsSetsLoader.d.ts","sourceRoot":"","sources":["../../src/spatialdata-loaders/SpatialDataObsSetsLoader.js"],"names":[],"mappings":"AAEA;;KAEK;AACL;IACE,0CAGC;IADC,YAAiC;CAEpC;iCAVgC,4CAA4C"}
@@ -6,6 +6,5 @@ export default class SpatialDataObsSetsLoader extends ObsSetsAnndataLoader {
6
6
  constructor(dataSource, params) {
7
7
  super(dataSource, params);
8
8
  this.region = this.options.region;
9
- this.options = this.options.obsSets;
10
9
  }
11
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/zarr",
3
- "version": "3.4.10",
3
+ "version": "3.4.12",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -19,21 +19,21 @@
19
19
  "d3-array": "^2.4.0",
20
20
  "lodash-es": "^4.17.21",
21
21
  "zarrita": "0.4.0-next.16",
22
- "@vitessce/constants-internal": "3.4.10",
23
- "@vitessce/gl": "3.4.10",
24
- "@vitessce/sets-utils": "3.4.10",
25
- "@vitessce/spatial-utils": "3.4.10",
26
- "@vitessce/image-utils": "3.4.10",
27
- "@vitessce/utils": "3.4.10",
28
- "@vitessce/vit-s": "3.4.10",
29
- "@vitessce/zarr-utils": "3.4.10",
30
- "@vitessce/config": "3.4.10"
22
+ "@vitessce/constants-internal": "3.4.12",
23
+ "@vitessce/gl": "3.4.12",
24
+ "@vitessce/sets-utils": "3.4.12",
25
+ "@vitessce/spatial-utils": "3.4.12",
26
+ "@vitessce/image-utils": "3.4.12",
27
+ "@vitessce/utils": "3.4.12",
28
+ "@vitessce/vit-s": "3.4.12",
29
+ "@vitessce/zarr-utils": "3.4.12",
30
+ "@vitessce/config": "3.4.12"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@zarrita/core": "0.1.0-next.14",
34
34
  "@zarrita/storage": "0.1.0-next.6",
35
35
  "@zarrita/typedarray": "0.1.0-next.3",
36
- "@vitessce/types": "3.4.10"
36
+ "@vitessce/types": "3.4.12"
37
37
  },
38
38
  "scripts": {
39
39
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
@@ -7,6 +7,5 @@ export default class SpatialDataObsSetsLoader extends ObsSetsAnndataLoader {
7
7
  constructor(dataSource, params) {
8
8
  super(dataSource, params);
9
9
  this.region = this.options.region;
10
- this.options = this.options.obsSets;
11
10
  }
12
11
  }