@sjcrh/proteinpaint-server 2.86.0 → 2.86.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.86.0",
3
+ "version": "2.86.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",
@@ -134,14 +134,7 @@ async function getBrainImage(query, genomes, plane, index) {
134
134
  }
135
135
  async function generateBrainImage(refFile, plane, index, maxLength, filesJson) {
136
136
  return new Promise((resolve, reject) => {
137
- const cmd = [
138
- `${serverconfig.binpath}/../python/src/plotBrainImaging.py`,
139
- refFile,
140
- plane,
141
- index,
142
- maxLength,
143
- filesJson
144
- ];
137
+ const cmd = [`${serverconfig.binpath}/utils/plotBrainImaging.py`, refFile, plane, index, maxLength, filesJson];
145
138
  const ps = spawn(serverconfig.python, cmd);
146
139
  const imgData = [];
147
140
  ps.stdout.on("data", (data) => {