Skip to content
Snippets Groups Projects
Commit 8dd5df52 authored by AndiMajore's avatar AndiMajore
Browse files

Merge branch 'master' of gitlab.rrz.uni-hamburg.de:cosy-bio/drugst.one/frontend

parents bd1e988a 67c6aa28
No related branches found
No related tags found
No related merge requests found
......@@ -60,10 +60,11 @@ export class NetexControllerService {
*/
// slice prefix of netex id away for direct lookup in db, if node not mapped to db, replace by undefined
const genesBackendIds = nodes.flatMap((node: Node) => node.drugstoneId ? node.drugstoneId : []).map((id: string | undefined) => id ? id.slice(1) : undefined);
const params = new HttpParams()
.set('tissue', tissue.drugstoneId)
.set('proteins', JSON.stringify(genesBackendIds));
return this.http.get(`${environment.backend}tissue_expression/`, {params});
const payload = {
tissue: tissue.drugstoneId,
proteins: JSON.stringify(genesBackendIds)
}
return this.http.post(`${environment.backend}tissue_expression/`, payload);
}
public adjacentDisorders(nodes: Node[], nodeType: string, dataset: string, licenced: boolean): Observable<any> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment