@sjcrh/proteinpaint-server 2.40.6 → 2.40.7
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/termdb.cluster.ts +2 -2
- package/server.js +1 -1
- package/server.js.map +1 -1
package/package.json
CHANGED
package/routes/termdb.cluster.ts
CHANGED
|
@@ -157,7 +157,7 @@ export async function validate_query_geneExpression(ds: any, genome: any) {
|
|
|
157
157
|
return
|
|
158
158
|
}
|
|
159
159
|
if (q.src == 'native') {
|
|
160
|
-
validateNative(q, ds, genome)
|
|
160
|
+
await validateNative(q, ds, genome)
|
|
161
161
|
return
|
|
162
162
|
}
|
|
163
163
|
throw 'unknown queries.geneExpression.src'
|
|
@@ -177,7 +177,7 @@ async function validateNative(q: GeneExpressionQueryNative, ds: any, genome: any
|
|
|
177
177
|
if (l.slice(0, 4).join('\t') != '#chr\tstart\tstop\tgene') throw 'header line has wrong content for columns 1-4'
|
|
178
178
|
for (let i = 4; i < l.length; i++) {
|
|
179
179
|
const id = ds.cohort.termdb.q.sampleName2id(l[i])
|
|
180
|
-
if (id == undefined) throw 'unknown sample from header'
|
|
180
|
+
if (id == undefined) throw 'queries.geneExpression: unknown sample from header: ' + l[i]
|
|
181
181
|
q.samples.push(id)
|
|
182
182
|
}
|
|
183
183
|
console.log(q.samples.length, 'samples from geneExpression of', ds.label)
|