@vitessce/scatterplot-gating 3.6.14 → 3.6.15
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-B57BId99.js → deflate-DxHXH5xg.js} +1 -1
- package/dist/{index-CrsPy-n7.js → index-DNmU76cL.js} +11 -11
- package/dist/index.js +1 -1
- package/dist/{jpeg-Berjq5Ym.js → jpeg-DVzsG58A.js} +1 -1
- package/dist/{lerc-CxaIuIQ5.js → lerc-DDH4E1vF.js} +1 -1
- package/dist/{lzw-D9RpJMTD.js → lzw-DurWd6oh.js} +1 -1
- package/dist/{packbits-CTMF4fVZ.js → packbits-Wx1kBQ0B.js} +1 -1
- package/dist/{raw-CDIL_Wat.js → raw-BVRj2spn.js} +1 -1
- package/dist/{webimage-dh1_F6vO.js → webimage-D9sKJsjg.js} +1 -1
- package/package.json +7 -7
|
@@ -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-DNmU76cL.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -123124,22 +123124,22 @@ function addDecoder(cases, importFn) {
|
|
|
123124
123124
|
}
|
|
123125
123125
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
123126
123126
|
}
|
|
123127
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
123128
|
-
addDecoder(5, () => import("./lzw-
|
|
123127
|
+
addDecoder([void 0, 1], () => import("./raw-BVRj2spn.js").then((m2) => m2.default));
|
|
123128
|
+
addDecoder(5, () => import("./lzw-DurWd6oh.js").then((m2) => m2.default));
|
|
123129
123129
|
addDecoder(6, () => {
|
|
123130
123130
|
throw new Error("old style JPEG compression is not supported.");
|
|
123131
123131
|
});
|
|
123132
|
-
addDecoder(7, () => import("./jpeg-
|
|
123133
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
123134
|
-
addDecoder(32773, () => import("./packbits-
|
|
123132
|
+
addDecoder(7, () => import("./jpeg-DVzsG58A.js").then((m2) => m2.default));
|
|
123133
|
+
addDecoder([8, 32946], () => import("./deflate-DxHXH5xg.js").then((m2) => m2.default));
|
|
123134
|
+
addDecoder(32773, () => import("./packbits-Wx1kBQ0B.js").then((m2) => m2.default));
|
|
123135
123135
|
addDecoder(
|
|
123136
123136
|
34887,
|
|
123137
|
-
() => import("./lerc-
|
|
123137
|
+
() => import("./lerc-DDH4E1vF.js").then(async (m2) => {
|
|
123138
123138
|
await m2.zstd.init();
|
|
123139
123139
|
return m2;
|
|
123140
123140
|
}).then((m2) => m2.default)
|
|
123141
123141
|
);
|
|
123142
|
-
addDecoder(50001, () => import("./webimage-
|
|
123142
|
+
addDecoder(50001, () => import("./webimage-D9sKJsjg.js").then((m2) => m2.default));
|
|
123143
123143
|
function decodeRowAcc(row, stride) {
|
|
123144
123144
|
let length2 = row.length - stride;
|
|
123145
123145
|
let offset2 = 0;
|
|
@@ -133097,10 +133097,10 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
133097
133097
|
channelIsSetColorMode.forEach((isSetColorMode, channelIndex) => {
|
|
133098
133098
|
var _a3, _b2, _c, _d;
|
|
133099
133099
|
if (isSetColorMode) {
|
|
133100
|
-
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length)
|
|
133100
|
+
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length) ?? 0) * 3;
|
|
133101
133101
|
totalValuesLength += ((_c = setColorValues[channelIndex]) == null ? void 0 : _c.obsIndex) ? max(setColorValues[channelIndex].obsIndex.map((d) => parseInt(d))) : 0;
|
|
133102
133102
|
} else {
|
|
133103
|
-
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length)
|
|
133103
|
+
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length) ?? 0;
|
|
133104
133104
|
}
|
|
133105
133105
|
});
|
|
133106
133106
|
const valueTexHeight = Math.max(2, Math.ceil(totalValuesLength / texSize));
|
|
@@ -133121,7 +133121,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
133121
133121
|
const matrixObsIndex = multiMatrixObsIndex[channelIndex];
|
|
133122
133122
|
const bitmaskValueIsIndex = matrixObsIndex === null;
|
|
133123
133123
|
if (isSetColorMode) {
|
|
133124
|
-
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex]
|
|
133124
|
+
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex] ?? {};
|
|
133125
133125
|
if (setColorIndices && setColors && obsIndex) {
|
|
133126
133126
|
for (let i2 = 0; i2 < obsIndex.length; i2++) {
|
|
133127
133127
|
let obsId = String(i2 + 1);
|
|
@@ -133145,7 +133145,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
133145
133145
|
indexOffset += (obsIndex == null ? void 0 : obsIndex.length) || 0;
|
|
133146
133146
|
colorOffset += (setColors == null ? void 0 : setColors.length) || 0;
|
|
133147
133147
|
} else {
|
|
133148
|
-
const featureArr = multiFeatureValues[channelIndex];
|
|
133148
|
+
const featureArr = multiFeatureValues[channelIndex] ?? [];
|
|
133149
133149
|
const normalizedFeatureArr = normalize(featureArr);
|
|
133150
133150
|
if (!bitmaskValueIsIndex && matrixObsIndex) {
|
|
133151
133151
|
for (let i2 = 0; i2 < matrixObsIndex.length; i2++) {
|
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 } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-DNmU76cL.js";
|
|
3
3
|
const LercParameters = {
|
|
4
4
|
AddCompression: 1
|
|
5
5
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/scatterplot-gating",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.15",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"d3-array": "^2.4.0",
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"react-aria": "^3.28.0",
|
|
22
|
-
"@vitessce/styles": "3.6.
|
|
23
|
-
"@vitessce/constants-internal": "3.6.
|
|
24
|
-
"@vitessce/scatterplot": "3.6.
|
|
25
|
-
"@vitessce/sets-utils": "3.6.
|
|
26
|
-
"@vitessce/utils": "3.6.
|
|
27
|
-
"@vitessce/vit-s": "3.6.
|
|
22
|
+
"@vitessce/styles": "3.6.15",
|
|
23
|
+
"@vitessce/constants-internal": "3.6.15",
|
|
24
|
+
"@vitessce/scatterplot": "3.6.15",
|
|
25
|
+
"@vitessce/sets-utils": "3.6.15",
|
|
26
|
+
"@vitessce/utils": "3.6.15",
|
|
27
|
+
"@vitessce/vit-s": "3.6.15"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "^18.0.0",
|