@vitessce/spatial-utils 3.3.11 → 3.4.0
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-88edcce0.js → deflate-0baa3ce6.js} +1 -1
- package/dist/{index-2e60bcd0.js → index-acb66366.js} +5146 -2560
- package/dist/index.js +1 -1
- package/dist/{jpeg-36de5225.js → jpeg-cbd947a2.js} +1 -1
- package/dist/{lerc-cecad635.js → lerc-31be5457.js} +1 -1
- package/dist/{lzw-19c945c0.js → lzw-46a4b38d.js} +1 -1
- package/dist/{packbits-1b575957.js → packbits-a1435c65.js} +1 -1
- package/dist/{raw-56a83d25.js → raw-7f3d8ece.js} +1 -1
- package/dist/{webimage-0c15a0b7.js → webimage-6fcd929e.js} +1 -1
- package/dist-tsc/layer-controller.d.ts.map +1 -1
- package/dist-tsc/layer-controller.js +1 -2
- package/package.json +4 -4
- package/src/layer-controller.js +1 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D, e, a, b, c, d, F, G, Z, C, r, n, E, A, y, l, m, z, x, h, q, v, o, i, f, j, k, u, t, p, s, w } from "./index-
|
|
1
|
+
import { D, e, a, b, c, d, F, G, Z, C, r, n, E, A, y, l, m, z, x, h, q, v, o, i, f, j, k, u, t, p, s, w } from "./index-acb66366.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
D as DEFAULT_CELLS_LAYER,
|
|
@@ -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-acb66366.js";
|
|
3
3
|
import "react";
|
|
4
4
|
const LercParameters = {
|
|
5
5
|
Version: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-controller.d.ts","sourceRoot":"","sources":["../src/layer-controller.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,wDAHW,MAAM,GACJ,MAAM,CASlB;
|
|
1
|
+
{"version":3,"file":"layer-controller.d.ts","sourceRoot":"","sources":["../src/layer-controller.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,wDAHW,MAAM,GACJ,MAAM,CASlB;AAuED;;;;GAIG;AACH,qDAHW,MAAM,GACJ,MAAM,CAUlB;AAED;;;;GAIG;AACH,wCAHW,MAAM,SAchB;AAED,kDAwBC;AAtJM,qEAKN;AAwEM,sEALI,MAAM,GAGJ,MAAM,CAOlB;AAEM;;;;;;;GAON"}
|
|
@@ -36,8 +36,7 @@ async function getSingleSelectionStats3D({ loader, selection }) {
|
|
|
36
36
|
const lowResSource = loader[loader.length - 1];
|
|
37
37
|
const filteredSelection = filterSelection(lowResSource, selection);
|
|
38
38
|
const { shape, labels } = lowResSource;
|
|
39
|
-
|
|
40
|
-
const sizeZ = shape[labels.indexOf('z')] >> (loader.length - 1);
|
|
39
|
+
const sizeZ = shape[labels.indexOf('z')];
|
|
41
40
|
const raster0 = await lowResSource.getRaster({
|
|
42
41
|
selection: { ...filteredSelection, z: 0 },
|
|
43
42
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/spatial-utils",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"zarrita": "0.4.0-next.10",
|
|
21
21
|
"math.gl": "^3.5.6",
|
|
22
22
|
"mathjs": "^9.2.0",
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/utils": "3.
|
|
25
|
-
"@vitessce/
|
|
23
|
+
"@vitessce/utils": "3.4.0",
|
|
24
|
+
"@vitessce/zarr-utils": "3.4.0",
|
|
25
|
+
"@vitessce/gl": "3.4.0"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
|
package/src/layer-controller.js
CHANGED
|
@@ -40,8 +40,7 @@ async function getSingleSelectionStats3D({ loader, selection }) {
|
|
|
40
40
|
const lowResSource = loader[loader.length - 1];
|
|
41
41
|
const filteredSelection = filterSelection(lowResSource, selection);
|
|
42
42
|
const { shape, labels } = lowResSource;
|
|
43
|
-
|
|
44
|
-
const sizeZ = shape[labels.indexOf('z')] >> (loader.length - 1);
|
|
43
|
+
const sizeZ = shape[labels.indexOf('z')];
|
|
45
44
|
const raster0 = await lowResSource.getRaster({
|
|
46
45
|
selection: { ...filteredSelection, z: 0 },
|
|
47
46
|
});
|