@vitessce/zarr 3.5.0 → 3.5.1
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-e0025ccc.js → deflate-d6c44024.js} +1 -1
- package/dist/{index-a1019708.js → index-315714b8.js} +18 -7
- package/dist/index.js +1 -1
- package/dist/{jpeg-54659e84.js → jpeg-2118e67e.js} +1 -1
- package/dist/{lerc-4e84f820.js → lerc-48cfdf2b.js} +1 -1
- package/dist/{lzw-40048bd4.js → lzw-10e7c9ff.js} +1 -1
- package/dist/{packbits-bf37d3f7.js → packbits-166dac1c.js} +1 -1
- package/dist/{raw-f9274a13.js → raw-155ab7ca.js} +1 -1
- package/dist/{webimage-88b1773f.js → webimage-f1ecb720.js} +1 -1
- package/package.json +11 -11
|
@@ -139228,16 +139228,16 @@ function addDecoder(cases, importFn) {
|
|
|
139228
139228
|
}
|
|
139229
139229
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
139230
139230
|
}
|
|
139231
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
139232
|
-
addDecoder(5, () => import("./lzw-
|
|
139231
|
+
addDecoder([void 0, 1], () => import("./raw-155ab7ca.js").then((m) => m.default));
|
|
139232
|
+
addDecoder(5, () => import("./lzw-10e7c9ff.js").then((m) => m.default));
|
|
139233
139233
|
addDecoder(6, () => {
|
|
139234
139234
|
throw new Error("old style JPEG compression is not supported.");
|
|
139235
139235
|
});
|
|
139236
|
-
addDecoder(7, () => import("./jpeg-
|
|
139237
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
139238
|
-
addDecoder(32773, () => import("./packbits-
|
|
139239
|
-
addDecoder(34887, () => import("./lerc-
|
|
139240
|
-
addDecoder(50001, () => import("./webimage-
|
|
139236
|
+
addDecoder(7, () => import("./jpeg-2118e67e.js").then((m) => m.default));
|
|
139237
|
+
addDecoder([8, 32946], () => import("./deflate-d6c44024.js").then((m) => m.default));
|
|
139238
|
+
addDecoder(32773, () => import("./packbits-166dac1c.js").then((m) => m.default));
|
|
139239
|
+
addDecoder(34887, () => import("./lerc-48cfdf2b.js").then((m) => m.default));
|
|
139240
|
+
addDecoder(50001, () => import("./webimage-f1ecb720.js").then((m) => m.default));
|
|
139241
139241
|
function decodeRowAcc(row, stride) {
|
|
139242
139242
|
let length2 = row.length - stride;
|
|
139243
139243
|
let offset = 0;
|
|
@@ -165149,6 +165149,17 @@ class ImageWrapper {
|
|
|
165149
165149
|
}
|
|
165150
165150
|
return [];
|
|
165151
165151
|
}
|
|
165152
|
+
getChannelIndex(channelSpecifier) {
|
|
165153
|
+
if (typeof channelSpecifier === "number") {
|
|
165154
|
+
return channelSpecifier;
|
|
165155
|
+
}
|
|
165156
|
+
const channelNames = this.getChannelNames();
|
|
165157
|
+
const channelIndex = channelNames.indexOf(channelSpecifier);
|
|
165158
|
+
if (channelIndex === -1) {
|
|
165159
|
+
console.error(`Channel ${channelSpecifier} not found in image.`);
|
|
165160
|
+
}
|
|
165161
|
+
return channelIndex;
|
|
165162
|
+
}
|
|
165152
165163
|
// TODO: support passing a custom color palette array.
|
|
165153
165164
|
getChannelObjects() {
|
|
165154
165165
|
if ("image-label" in this.vivLoader.metadata) {
|
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-
|
|
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-315714b8.js";
|
|
2
2
|
import "@vitessce/vit-s";
|
|
3
3
|
import "react";
|
|
4
4
|
export {
|
|
@@ -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-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-315714b8.js";
|
|
3
3
|
import "@vitessce/vit-s";
|
|
4
4
|
import "react";
|
|
5
5
|
const LercParameters = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/zarr",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -22,21 +22,21 @@
|
|
|
22
22
|
"apache-arrow": "^17.0.0",
|
|
23
23
|
"parquet-wasm": "^0.6.1",
|
|
24
24
|
"ol": "^10.2.1",
|
|
25
|
-
"@vitessce/constants-internal": "3.5.
|
|
26
|
-
"@vitessce/gl": "3.5.
|
|
27
|
-
"@vitessce/sets-utils": "3.5.
|
|
28
|
-
"@vitessce/spatial-utils": "3.5.
|
|
29
|
-
"@vitessce/image-utils": "3.5.
|
|
30
|
-
"@vitessce/utils": "3.5.
|
|
31
|
-
"@vitessce/vit-s": "3.5.
|
|
32
|
-
"@vitessce/zarr-utils": "3.5.
|
|
33
|
-
"@vitessce/config": "3.5.
|
|
25
|
+
"@vitessce/constants-internal": "3.5.1",
|
|
26
|
+
"@vitessce/gl": "3.5.1",
|
|
27
|
+
"@vitessce/sets-utils": "3.5.1",
|
|
28
|
+
"@vitessce/spatial-utils": "3.5.1",
|
|
29
|
+
"@vitessce/image-utils": "3.5.1",
|
|
30
|
+
"@vitessce/utils": "3.5.1",
|
|
31
|
+
"@vitessce/vit-s": "3.5.1",
|
|
32
|
+
"@vitessce/zarr-utils": "3.5.1",
|
|
33
|
+
"@vitessce/config": "3.5.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@zarrita/core": "0.1.0-next.14",
|
|
37
37
|
"@zarrita/storage": "0.1.0-next.6",
|
|
38
38
|
"@zarrita/typedarray": "0.1.0-next.3",
|
|
39
|
-
"@vitessce/types": "3.5.
|
|
39
|
+
"@vitessce/types": "3.5.1"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
|