@vitessce/json 3.8.9 → 3.8.10

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-DOA-Vajv.js";
2
+ import { B as BaseDecoder } from "./index-D0HG6I1i.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -11941,13 +11941,7 @@ class SpatialDataAutoConfig extends AbstractAutoConfig {
11941
11941
  };
11942
11942
  }
11943
11943
  if (relPath.match(/^(shapes)\/([^/]*)$/)) {
11944
- options.obsSpots = {
11945
- path: relPath,
11946
- coordinateSystem: firstCoordinateSystem
11947
- };
11948
- }
11949
- if (relPath.match(/^(points)\/([^/]*)$/)) {
11950
- options.obsPoints = {
11944
+ options.obsSegmentations = {
11951
11945
  path: relPath,
11952
11946
  coordinateSystem: firstCoordinateSystem
11953
11947
  };
@@ -11961,21 +11955,6 @@ class SpatialDataAutoConfig extends AbstractAutoConfig {
11961
11955
  // region: null,
11962
11956
  };
11963
11957
  }
11964
- const hasObs = tableEls.find((el) => el.path === `${path}/obs`);
11965
- if (hasObs) {
11966
- const columnOrder = hasObs.attrs?.["column-order"];
11967
- options.obsSets = {
11968
- // region: null,
11969
- tablePath: relPath,
11970
- obsSets: columnOrder.map((c) => ({
11971
- // TODO: determine whether this column is string/categorical.
11972
- // TODO: determine whether this column contains too many
11973
- // categories to make sense to consider a cell set.
11974
- path: `${hasObs.path.substring(1)}/${c}`,
11975
- name: c
11976
- }))
11977
- };
11978
- }
11979
11958
  }
11980
11959
  });
11981
11960
  return options;
@@ -138933,22 +138912,22 @@ async function getDecoder(fileDirectory) {
138933
138912
  const Decoder = await importFn();
138934
138913
  return new Decoder(fileDirectory);
138935
138914
  }
138936
- addDecoder([void 0, 1], () => import("./raw-CzWX7H6s.js").then((m) => m.default));
138937
- addDecoder(5, () => import("./lzw-Bzc1p7qc.js").then((m) => m.default));
138915
+ addDecoder([void 0, 1], () => import("./raw-EsCy1Pin.js").then((m) => m.default));
138916
+ addDecoder(5, () => import("./lzw-C9-J2OOY.js").then((m) => m.default));
138938
138917
  addDecoder(6, () => {
138939
138918
  throw new Error("old style JPEG compression is not supported.");
138940
138919
  });
138941
- addDecoder(7, () => import("./jpeg-OsN75fL4.js").then((m) => m.default));
138942
- addDecoder([8, 32946], () => import("./deflate-B7ZliDZ6.js").then((m) => m.default));
138943
- addDecoder(32773, () => import("./packbits-ymfhFruh.js").then((m) => m.default));
138920
+ addDecoder(7, () => import("./jpeg-CGy5HvVv.js").then((m) => m.default));
138921
+ addDecoder([8, 32946], () => import("./deflate-Dgp_aqBN.js").then((m) => m.default));
138922
+ addDecoder(32773, () => import("./packbits-D24E1iyc.js").then((m) => m.default));
138944
138923
  addDecoder(
138945
138924
  34887,
138946
- () => import("./lerc-B0oGigMq.js").then(async (m) => {
138925
+ () => import("./lerc-DsLusSgJ.js").then(async (m) => {
138947
138926
  await m.zstd.init();
138948
138927
  return m;
138949
138928
  }).then((m) => m.default)
138950
138929
  );
138951
- addDecoder(50001, () => import("./webimage-DFx4tj0e.js").then((m) => m.default));
138930
+ addDecoder(50001, () => import("./webimage-Dha0_JXQ.js").then((m) => m.default));
138952
138931
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
138953
138932
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
138954
138933
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-DOA-Vajv.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-D0HG6I1i.js";
2
2
  export {
3
3
  C as CellsJsonAsObsEmbeddingLoader,
4
4
  d as CellsJsonAsObsLabelsLoader,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DOA-Vajv.js";
1
+ import { B as BaseDecoder } from "./index-D0HG6I1i.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, L as LercParameters, a as LercAddCompression } from "./index-DOA-Vajv.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-D0HG6I1i.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DOA-Vajv.js";
1
+ import { B as BaseDecoder } from "./index-D0HG6I1i.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-DOA-Vajv.js";
1
+ import { B as BaseDecoder } from "./index-D0HG6I1i.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-DOA-Vajv.js";
1
+ import { B as BaseDecoder } from "./index-D0HG6I1i.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-DOA-Vajv.js";
1
+ import { B as BaseDecoder } from "./index-D0HG6I1i.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/json",
3
- "version": "3.8.9",
3
+ "version": "3.8.10",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,17 +20,17 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "zarrita": "0.5.4",
22
22
  "zod": "^3.21.4",
23
- "@vitessce/constants-internal": "3.8.9",
24
- "@vitessce/gl": "3.8.9",
25
- "@vitessce/globals": "3.8.9",
26
- "@vitessce/schemas": "3.8.9",
27
- "@vitessce/sets-utils": "3.8.9",
28
- "@vitessce/spatial-utils": "3.8.9",
29
- "@vitessce/utils": "3.8.9",
30
- "@vitessce/abstract": "3.8.9",
31
- "@vitessce/error": "3.8.9",
32
- "@vitessce/zarr-utils": "3.8.9",
33
- "@vitessce/config": "3.8.9"
23
+ "@vitessce/constants-internal": "3.8.10",
24
+ "@vitessce/gl": "3.8.10",
25
+ "@vitessce/globals": "3.8.10",
26
+ "@vitessce/schemas": "3.8.10",
27
+ "@vitessce/sets-utils": "3.8.10",
28
+ "@vitessce/spatial-utils": "3.8.10",
29
+ "@vitessce/utils": "3.8.10",
30
+ "@vitessce/abstract": "3.8.10",
31
+ "@vitessce/error": "3.8.10",
32
+ "@vitessce/zarr-utils": "3.8.10",
33
+ "@vitessce/config": "3.8.10"
34
34
  },
35
35
  "scripts": {
36
36
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",