@sjcrh/proteinpaint-server 2.174.1 → 2.176.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-server",
3
- "version": "2.174.1",
3
+ "version": "2.176.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",
@@ -64,9 +64,9 @@
64
64
  "@sjcrh/augen": "2.143.0",
65
65
  "@sjcrh/proteinpaint-python": "2.174.0",
66
66
  "@sjcrh/proteinpaint-r": "2.152.1-0",
67
- "@sjcrh/proteinpaint-rust": "2.174.0",
68
- "@sjcrh/proteinpaint-shared": "2.174.1",
69
- "@sjcrh/proteinpaint-types": "2.174.1",
67
+ "@sjcrh/proteinpaint-rust": "2.175.0",
68
+ "@sjcrh/proteinpaint-shared": "2.175.0",
69
+ "@sjcrh/proteinpaint-types": "2.176.0",
70
70
  "@types/express": "^5.0.0",
71
71
  "@types/express-session": "^1.18.1",
72
72
  "better-sqlite3": "^12.4.1",
@@ -30,7 +30,10 @@ function init({ genomes }) {
30
30
  if (q.overlayTw) terms.push(q.overlayTw);
31
31
  if (q.divideTw) terms.push(q.divideTw);
32
32
  try {
33
- const data = await getData({ filter: q.filter, filter0: q.filter0, terms, __protected__: q.__protected__ }, ds);
33
+ const data = await getData(
34
+ { filter: q.filter, filter0: q.filter0, terms, __protected__: q.__protected__, __abortSignal: q.__abortSignal },
35
+ ds
36
+ );
34
37
  if (data.error) throw new Error(data.error);
35
38
  const { absMin, absMax, bins, charts, uncomputableValues, descrStats, outlierMin, outlierMax } = await processData(data, q);
36
39
  const returnData = {
@@ -42,7 +42,8 @@ async function trigger_getcategories(q, res, tdb, ds) {
42
42
  // optional, from mds3 mayAddGetCategoryArgs()
43
43
  rglst: q.rglst,
44
44
  // optional, from mds3 mayAddGetCategoryArgs()
45
- __protected__: q.__protected__
45
+ __protected__: q.__protected__,
46
+ __abortSignal: q.__abortSignal
46
47
  };
47
48
  const data = await getData(arg, ds);
48
49
  if (data.error) throw data.error;