@sjcrh/proteinpaint-server 2.101.0 → 2.102.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/package.json +2 -2
- package/routes/termdb.singlecellSamples.js +5 -0
- package/src/app.js +37 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjcrh/proteinpaint-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.102.0",
|
|
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.99.0",
|
|
63
63
|
"@sjcrh/proteinpaint-shared": "2.99.1",
|
|
64
|
-
"@sjcrh/proteinpaint-types": "2.
|
|
64
|
+
"@sjcrh/proteinpaint-types": "2.102.0",
|
|
65
65
|
"@types/express": "^5.0.0",
|
|
66
66
|
"@types/express-session": "^1.18.1",
|
|
67
67
|
"better-sqlite3": "^9.4.1",
|
|
@@ -210,6 +210,11 @@ function validateGeneExpressionNative(G) {
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
} catch (e) {
|
|
213
|
+
if (typeof e == "string") {
|
|
214
|
+
const geneNotFound = `Gene '${q.gene}' not found in the HDF5 file`;
|
|
215
|
+
if (e.includes(geneNotFound))
|
|
216
|
+
throw "No expression data for this gene";
|
|
217
|
+
}
|
|
213
218
|
console.log(e);
|
|
214
219
|
throw "error reading h5 file: " + e;
|
|
215
220
|
}
|