@vitessce/json 3.9.9 → 3.9.11

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-CPJM-bsb.js";
2
+ import { B as BaseDecoder } from "./index-CLVsk-Jg.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -222,6 +222,7 @@ const FileType$1 = {
222
222
  OBS_LABELS_MUDATA_ZARR: "obsLabels.mudata.zarr",
223
223
  FEATURE_LABELS_MUDATA_ZARR: "featureLabels.mudata.zarr",
224
224
  GENOMIC_PROFILES_ZARR: "genomic-profiles.zarr",
225
+ GENOMIC_PROFILES_ZARR_ZIP: "genomic-profiles.zarr.zip",
225
226
  NEIGHBORHOODS_JSON: "neighborhoods.json",
226
227
  // OME-TIFF
227
228
  IMAGE_OME_TIFF: "image.ome-tiff",
@@ -486,6 +487,7 @@ const CoordinationType$1 = {
486
487
  [FileType$1.OBS_LABELS_MOLECULES_JSON]: DataType$2.OBS_LABELS,
487
488
  // For old file types
488
489
  [FileType$1.GENOMIC_PROFILES_ZARR]: DataType$2.GENOMIC_PROFILES,
490
+ [FileType$1.GENOMIC_PROFILES_ZARR_ZIP]: DataType$2.GENOMIC_PROFILES,
489
491
  [FileType$1.NEIGHBORHOODS_JSON]: DataType$2.NEIGHBORHOODS
490
492
  });
491
493
  ({
@@ -650,6 +652,10 @@ const CoordinationType$1 = {
650
652
  },
651
653
  [FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR]: {
652
654
  zip: FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP
655
+ },
656
+ // For genomic profiles:
657
+ [FileType$1.GENOMIC_PROFILES_ZARR]: {
658
+ zip: FileType$1.GENOMIC_PROFILES_ZARR_ZIP
653
659
  }
654
660
  });
655
661
  [
@@ -12107,7 +12113,9 @@ class OmeAutoConfig extends AbstractAutoConfig {
12107
12113
  // TODO: how to handle h5ad-based AnnData (since needs reference JSON file).
12108
12114
  // Perhaps just assume one H5AD+one JSON (or .ref.json) file correspond to each other?
12109
12115
  [FileType$1.SPATIALDATA_ZARR]: [".sd.zarr", ".sdata.zarr", ".spatialdata.zarr"],
12110
- [FileType$1.SPATIALDATA_ZARR_ZIP]: [".sd.zarr.zip", ".sdata.zarr.zip", ".spatialdata.zarr.zip"]
12116
+ [FileType$1.SPATIALDATA_ZARR_ZIP]: [".sd.zarr.zip", ".sdata.zarr.zip", ".spatialdata.zarr.zip"],
12117
+ [FileType$1.GENOMIC_PROFILES_ZARR]: [".multivec.zarr"],
12118
+ [FileType$1.GENOMIC_PROFILES_ZARR_ZIP]: [".multivec.zarr.zip"]
12111
12119
  });
12112
12120
  ({
12113
12121
  // OME-TIFF
@@ -12133,7 +12141,9 @@ class OmeAutoConfig extends AbstractAutoConfig {
12133
12141
  FileType$1.IMAGE_OME_ZARR,
12134
12142
  FileType$1.IMAGE_OME_ZARR_ZIP,
12135
12143
  FileType$1.OBS_SEGMENTATIONS_OME_ZARR,
12136
- FileType$1.OBS_SEGMENTATIONS_OME_ZARR_ZIP
12144
+ FileType$1.OBS_SEGMENTATIONS_OME_ZARR_ZIP,
12145
+ FileType$1.GENOMIC_PROFILES_ZARR,
12146
+ FileType$1.GENOMIC_PROFILES_ZARR_ZIP
12137
12147
  ];
12138
12148
  class ObsSegmentationsJsonLoader extends JsonLoader {
12139
12149
  loadFromCache(data) {
@@ -138980,22 +138990,22 @@ async function getDecoder(fileDirectory) {
138980
138990
  const Decoder = await importFn();
138981
138991
  return new Decoder(fileDirectory);
138982
138992
  }
138983
- addDecoder([void 0, 1], () => import("./raw-BTphhd3P.js").then((m) => m.default));
138984
- addDecoder(5, () => import("./lzw-ECKhcRnL.js").then((m) => m.default));
138993
+ addDecoder([void 0, 1], () => import("./raw-BG69ePVt.js").then((m) => m.default));
138994
+ addDecoder(5, () => import("./lzw-Chuq3XeB.js").then((m) => m.default));
138985
138995
  addDecoder(6, () => {
138986
138996
  throw new Error("old style JPEG compression is not supported.");
138987
138997
  });
138988
- addDecoder(7, () => import("./jpeg-DlKON62A.js").then((m) => m.default));
138989
- addDecoder([8, 32946], () => import("./deflate-DDOmrBA0.js").then((m) => m.default));
138990
- addDecoder(32773, () => import("./packbits-DcVP6svJ.js").then((m) => m.default));
138998
+ addDecoder(7, () => import("./jpeg-Dt8jW-2x.js").then((m) => m.default));
138999
+ addDecoder([8, 32946], () => import("./deflate-yOzfhOeR.js").then((m) => m.default));
139000
+ addDecoder(32773, () => import("./packbits-Cw8iHgcS.js").then((m) => m.default));
138991
139001
  addDecoder(
138992
139002
  34887,
138993
- () => import("./lerc-B60n8Lei.js").then(async (m) => {
139003
+ () => import("./lerc-USAxUbpK.js").then(async (m) => {
138994
139004
  await m.zstd.init();
138995
139005
  return m;
138996
139006
  }).then((m) => m.default)
138997
139007
  );
138998
- addDecoder(50001, () => import("./webimage-CMHAsl3i.js").then((m) => m.default));
139008
+ addDecoder(50001, () => import("./webimage-D3_uOb9M.js").then((m) => m.default));
138999
139009
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
139000
139010
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
139001
139011
  }
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-CPJM-bsb.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-CLVsk-Jg.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-CPJM-bsb.js";
1
+ import { B as BaseDecoder } from "./index-CLVsk-Jg.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-CPJM-bsb.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-CLVsk-Jg.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-CPJM-bsb.js";
1
+ import { B as BaseDecoder } from "./index-CLVsk-Jg.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-CPJM-bsb.js";
1
+ import { B as BaseDecoder } from "./index-CLVsk-Jg.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-CPJM-bsb.js";
1
+ import { B as BaseDecoder } from "./index-CLVsk-Jg.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-CPJM-bsb.js";
1
+ import { B as BaseDecoder } from "./index-CLVsk-Jg.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.9.9",
3
+ "version": "3.9.11",
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.6.1",
22
22
  "zod": "^3.21.4",
23
- "@vitessce/gl": "3.9.9",
24
- "@vitessce/globals": "3.9.9",
25
- "@vitessce/schemas": "3.9.9",
26
- "@vitessce/sets-utils": "3.9.9",
27
- "@vitessce/utils": "3.9.9",
28
- "@vitessce/abstract": "3.9.9",
29
- "@vitessce/spatial-utils": "3.9.9",
30
- "@vitessce/error": "3.9.9",
31
- "@vitessce/constants-internal": "3.9.9",
32
- "@vitessce/config": "3.9.9",
33
- "@vitessce/zarr-utils": "3.9.9"
23
+ "@vitessce/constants-internal": "3.9.11",
24
+ "@vitessce/gl": "3.9.11",
25
+ "@vitessce/globals": "3.9.11",
26
+ "@vitessce/schemas": "3.9.11",
27
+ "@vitessce/spatial-utils": "3.9.11",
28
+ "@vitessce/sets-utils": "3.9.11",
29
+ "@vitessce/utils": "3.9.11",
30
+ "@vitessce/error": "3.9.11",
31
+ "@vitessce/abstract": "3.9.11",
32
+ "@vitessce/zarr-utils": "3.9.11",
33
+ "@vitessce/config": "3.9.11"
34
34
  },
35
35
  "scripts": {
36
36
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",