@sjcrh/proteinpaint-server 2.73.0 → 2.73.1-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.73.0",
3
+ "version": "2.73.1-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",
@@ -171,7 +171,7 @@ function addNonDictionaryQueries(c, ds, genome) {
171
171
  delete q2.singleSampleGenomeQuantification[k].folder;
172
172
  }
173
173
  }
174
- if (q.NIdata) {
174
+ if (q.NIdata && serverconfig.features.showBrainImaging) {
175
175
  q2.NIdata = {};
176
176
  for (const k in q.NIdata) {
177
177
  q2.NIdata[k] = JSON.parse(JSON.stringify(q.NIdata[k]));