@vitessce/json 3.6.4 → 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-DGKmEgie.js";
2
+ import { B as BaseDecoder } from "./index-B7T2DtqE.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -10001,12 +10001,17 @@ anndataZarrSchema.extend({
10001
10001
  z.object({
10002
10002
  // TODO: should `image` be a special schema
10003
10003
  // to allow specifying fileUid (like for embeddingType)?
10004
- // TODO: allow multiple images
10004
+ // TODO: allow multiple images?
10005
10005
  image: imageSpatialdataSchema,
10006
10006
  // TODO: should this be a special schema
10007
10007
  // to allow specifying fileUid (like for embeddingType)?
10008
- // TODO: allow multiple labels
10008
+ // TODO: allow multiple labels?
10009
10009
  labels: obsSegmentationsSpatialdataSchema,
10010
+ // TODO: allow multiple shapes?
10011
+ // TODO: unify labels and shapes to obsSegmentations,
10012
+ // then distinguish in expand function based on
10013
+ // "labels/*" vs. "shapes/*" in path?
10014
+ shapes: obsSegmentationsSpatialdataSchema,
10010
10015
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
10011
10016
  obsSpots: obsSpotsSpatialdataSchema,
10012
10017
  // TODO: obsPoints
@@ -137079,22 +137084,22 @@ async function getDecoder(fileDirectory) {
137079
137084
  const Decoder = await importFn();
137080
137085
  return new Decoder(fileDirectory);
137081
137086
  }
137082
- addDecoder([void 0, 1], () => import("./raw-3AouWmbb.js").then((m) => m.default));
137083
- addDecoder(5, () => import("./lzw-DXslRgLs.js").then((m) => m.default));
137087
+ addDecoder([void 0, 1], () => import("./raw-Cy08b44Z.js").then((m) => m.default));
137088
+ addDecoder(5, () => import("./lzw-U6CSxLDR.js").then((m) => m.default));
137084
137089
  addDecoder(6, () => {
137085
137090
  throw new Error("old style JPEG compression is not supported.");
137086
137091
  });
137087
- addDecoder(7, () => import("./jpeg-Dk9A8X-c.js").then((m) => m.default));
137088
- addDecoder([8, 32946], () => import("./deflate-KL_oSz_M.js").then((m) => m.default));
137089
- addDecoder(32773, () => import("./packbits-C9ikVgSF.js").then((m) => m.default));
137092
+ addDecoder(7, () => import("./jpeg-HiHjx4CG.js").then((m) => m.default));
137093
+ addDecoder([8, 32946], () => import("./deflate-BYKpSTT6.js").then((m) => m.default));
137094
+ addDecoder(32773, () => import("./packbits-DoX7PkwR.js").then((m) => m.default));
137090
137095
  addDecoder(
137091
137096
  34887,
137092
- () => import("./lerc-DKJjxb9D.js").then(async (m) => {
137097
+ () => import("./lerc-BMjU_3GZ.js").then(async (m) => {
137093
137098
  await m.zstd.init();
137094
137099
  return m;
137095
137100
  }).then((m) => m.default)
137096
137101
  );
137097
- addDecoder(50001, () => import("./webimage-CPz2Evgl.js").then((m) => m.default));
137102
+ addDecoder(50001, () => import("./webimage-Pvwg1VPe.js").then((m) => m.default));
137098
137103
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
137099
137104
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
137100
137105
  }
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-DGKmEgie.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-B7T2DtqE.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-DGKmEgie.js";
1
+ import { B as BaseDecoder } from "./index-B7T2DtqE.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-DGKmEgie.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-B7T2DtqE.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-DGKmEgie.js";
1
+ import { B as BaseDecoder } from "./index-B7T2DtqE.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-DGKmEgie.js";
1
+ import { B as BaseDecoder } from "./index-B7T2DtqE.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-DGKmEgie.js";
1
+ import { B as BaseDecoder } from "./index-B7T2DtqE.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-DGKmEgie.js";
1
+ import { B as BaseDecoder } from "./index-B7T2DtqE.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.6.4",
3
+ "version": "3.6.5",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,16 +20,16 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "zarrita": "0.5.2",
22
22
  "zod": "^3.21.4",
23
- "@vitessce/constants-internal": "3.6.4",
24
- "@vitessce/gl": "3.6.4",
25
- "@vitessce/globals": "3.6.4",
26
- "@vitessce/schemas": "3.6.4",
27
- "@vitessce/sets-utils": "3.6.4",
28
- "@vitessce/spatial-utils": "3.6.4",
29
- "@vitessce/utils": "3.6.4",
30
- "@vitessce/abstract": "3.6.4",
31
- "@vitessce/zarr-utils": "3.6.4",
32
- "@vitessce/config": "3.6.4"
23
+ "@vitessce/constants-internal": "3.6.5",
24
+ "@vitessce/gl": "3.6.5",
25
+ "@vitessce/globals": "3.6.5",
26
+ "@vitessce/schemas": "3.6.5",
27
+ "@vitessce/sets-utils": "3.6.5",
28
+ "@vitessce/spatial-utils": "3.6.5",
29
+ "@vitessce/utils": "3.6.5",
30
+ "@vitessce/abstract": "3.6.5",
31
+ "@vitessce/zarr-utils": "3.6.5",
32
+ "@vitessce/config": "3.6.5"
33
33
  },
34
34
  "scripts": {
35
35
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",