@sjcrh/proteinpaint-server 2.98.2-0 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-server",
3
- "version": "2.98.2-0",
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.2-0",
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",
@@ -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.clientAuthResult || {};
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.map((c2) => c2.name), selected: p.selected };
227
+ return { name: p.name, colorColumns: p.colorColumns, selected: p.selected };
228
228
  })
229
229
  }
230
230
  };