@vitessce/json 3.9.9 → 3.9.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.
- package/dist/{deflate-DDOmrBA0.js → deflate-yOzfhOeR.js} +1 -1
- package/dist/{index-CPJM-bsb.js → index-CLVsk-Jg.js} +19 -9
- package/dist/index.js +1 -1
- package/dist/{jpeg-DlKON62A.js → jpeg-Dt8jW-2x.js} +1 -1
- package/dist/{lerc-B60n8Lei.js → lerc-USAxUbpK.js} +1 -1
- package/dist/{lzw-ECKhcRnL.js → lzw-Chuq3XeB.js} +1 -1
- package/dist/{packbits-DcVP6svJ.js → packbits-Cw8iHgcS.js} +1 -1
- package/dist/{raw-BTphhd3P.js → raw-BG69ePVt.js} +1 -1
- package/dist/{webimage-CMHAsl3i.js → webimage-D3_uOb9M.js} +1 -1
- package/package.json +12 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { B as BaseDecoder } from "./index-
|
|
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-
|
|
138984
|
-
addDecoder(5, () => import("./lzw-
|
|
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-
|
|
138989
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
138990
|
-
addDecoder(32773, () => import("./packbits-
|
|
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-
|
|
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-
|
|
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,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-
|
|
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() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/json",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.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.6.1",
|
|
22
22
|
"zod": "^3.21.4",
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/globals": "3.9.
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/
|
|
30
|
-
"@vitessce/
|
|
31
|
-
"@vitessce/
|
|
32
|
-
"@vitessce/
|
|
33
|
-
"@vitessce/
|
|
23
|
+
"@vitessce/constants-internal": "3.9.10",
|
|
24
|
+
"@vitessce/globals": "3.9.10",
|
|
25
|
+
"@vitessce/sets-utils": "3.9.10",
|
|
26
|
+
"@vitessce/schemas": "3.9.10",
|
|
27
|
+
"@vitessce/gl": "3.9.10",
|
|
28
|
+
"@vitessce/spatial-utils": "3.9.10",
|
|
29
|
+
"@vitessce/zarr-utils": "3.9.10",
|
|
30
|
+
"@vitessce/utils": "3.9.10",
|
|
31
|
+
"@vitessce/abstract": "3.9.10",
|
|
32
|
+
"@vitessce/error": "3.9.10",
|
|
33
|
+
"@vitessce/config": "3.9.10"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
|