@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 +1 -1
- package/routes/brainImaging.js +1 -8
- package/src/app.js +4 -18
- package/utils/plotBrainImaging.py +92 -53
package/package.json
CHANGED
package/routes/brainImaging.js
CHANGED
|
@@ -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) => {
|