From de16c9f4c82b5756eb40148e581123c8d078f087 Mon Sep 17 00:00:00 2001
From: AndiMajore <andi.majore@googlemail.com>
Date: Wed, 27 Jul 2022 19:19:02 +0200
Subject: [PATCH] fixed node handover for super start

---
 src/app/services/analysis/analysis.service.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/services/analysis/analysis.service.ts b/src/app/services/analysis/analysis.service.ts
index 07e5dbf9..b0d5d3c3 100644
--- a/src/app/services/analysis/analysis.service.ts
+++ b/src/app/services/analysis/analysis.service.ts
@@ -232,7 +232,7 @@ export class AnalysisService {
       licenced: config.licencedDatasets,
       config: config,
       input_network: network,
-      seeds: isSuper ? network.nodes.filter(n => n.drugstoneId && n.drugstoneId[0] === 'p').map(n => n.id) : this.getSelection().map((i) => i.id),
+      seeds: isSuper ? network.nodes.filter(n => n.drugstoneId && n.drugstoneType === 'protein').map(n => n.id) : this.getSelection().map((i) => i.id),
     };
     const resp = await this.http.post<any>(`${environment.backend}task/`, {
       algorithm: isSuper ? 'super' : 'quick',
-- 
GitLab