@sjcrh/proteinpaint-server 2.98.1 → 2.98.2-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/package.json +2 -2
- package/routes/correlationVolcano.js +2 -2
- package/routes/termdb.config.js +2 -2
- package/src/app.js +846 -6971
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjcrh/proteinpaint-server",
|
|
3
|
-
"version": "2.98.1",
|
|
3
|
+
"version": "2.98.2-1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "a genomics visualization tool for exploring a cohort's genotype and phenotype data",
|
|
6
6
|
"main": "src/app.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@sjcrh/augen": "2.87.0",
|
|
62
62
|
"@sjcrh/proteinpaint-rust": "2.84.0",
|
|
63
63
|
"@sjcrh/proteinpaint-shared": "2.98.0",
|
|
64
|
-
"@sjcrh/proteinpaint-types": "2.98.1",
|
|
64
|
+
"@sjcrh/proteinpaint-types": "2.98.2-1",
|
|
65
65
|
"better-sqlite3": "^9.4.1",
|
|
66
66
|
"body-parser": "^1.15.2",
|
|
67
67
|
"canvas": "~2.11.2",
|
|
@@ -54,11 +54,11 @@ async function compute(q, ds, genome) {
|
|
|
54
54
|
vtid2array.set(tw.$id, { id: tw.$id, v1: [], v2: [] });
|
|
55
55
|
}
|
|
56
56
|
for (const sid in data.samples) {
|
|
57
|
-
const featureValue = data.samples[sid][q.featureTw.$id]?.value;
|
|
57
|
+
const featureValue = q.featureTw.$id === void 0 ? void 0 : data.samples[sid][q.featureTw.$id]?.value;
|
|
58
58
|
if (!Number.isFinite(featureValue))
|
|
59
59
|
continue;
|
|
60
60
|
for (const tw of q.variableTwLst) {
|
|
61
|
-
const variableValue = data.samples[sid][tw.$id]?.value;
|
|
61
|
+
const variableValue = tw.$id === void 0 ? void 0 : data.samples[sid][tw.$id]?.value;
|
|
62
62
|
if (!Number.isFinite(variableValue))
|
|
63
63
|
continue;
|
|
64
64
|
vtid2array.get(tw.$id).v1.push(featureValue);
|
package/routes/termdb.config.js
CHANGED
|
@@ -101,7 +101,7 @@ function make(q, req, res, ds, genome) {
|
|
|
101
101
|
addNonDictionaryQueries(c, ds, genome);
|
|
102
102
|
c.requiredAuth = authApi.getRequiredCredForDsEmbedder(q.dslabel, q.embedder);
|
|
103
103
|
const info = authApi.getNonsensitiveInfo(req);
|
|
104
|
-
c.clientAuthResult = info
|
|
104
|
+
c.clientAuthResult = info?.clientAuthResult || {};
|
|
105
105
|
res.send({ termdbConfig: c });
|
|
106
106
|
}
|
|
107
107
|
function addRestrictAncestries(c, tdb) {
|
|
@@ -224,7 +224,7 @@ function addNonDictionaryQueries(c, ds, genome) {
|
|
|
224
224
|
refName: q.singleCell.data.refName,
|
|
225
225
|
settings: q.singleCell.data.settings,
|
|
226
226
|
plots: q.singleCell.data.plots.map((p) => {
|
|
227
|
-
return { name: p.name, colorColumns: p.colorColumns
|
|
227
|
+
return { name: p.name, colorColumns: p.colorColumns, selected: p.selected };
|
|
228
228
|
})
|
|
229
229
|
}
|
|
230
230
|
};
|