From 4df90f023494bb3052a4efcc30802ce0e98b97d6 Mon Sep 17 00:00:00 2001 From: Michael Hartung <michi@Michaels-MacBook-Pro.local> Date: Tue, 20 Jul 2021 19:17:31 +0200 Subject: [PATCH] remove logs --- src/app/components/analysis-panel/analysis-panel.component.html | 2 +- src/app/components/analysis-panel/analysis-panel.component.ts | 2 -- src/app/config.ts | 2 +- src/app/main-network.ts | 2 -- src/app/network-settings.ts | 2 -- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/app/components/analysis-panel/analysis-panel.component.html b/src/app/components/analysis-panel/analysis-panel.component.html index 313c541f..5d005275 100644 --- a/src/app/components/analysis-panel/analysis-panel.component.html +++ b/src/app/components/analysis-panel/analysis-panel.component.html @@ -127,7 +127,7 @@ <div class="tab-content" *ngIf="task && task.info.done" [class.is-visible]="tab === 'network'"> <div class="card-image canvas-content" #networkWithLegend> <div *ngIf="myConfig.showLegend"> - <app-network-legend [config]="myConfig" [analysis]="true"></app-network-legend> + <app-network-legend [config]="myConfig" [analysis]="false"></app-network-legend> </div> <div class="fullheight center image1" #network> <button class="button is-loading center">Loading</button> diff --git a/src/app/components/analysis-panel/analysis-panel.component.ts b/src/app/components/analysis-panel/analysis-panel.component.ts index c51e633d..e0145d58 100644 --- a/src/app/components/analysis-panel/analysis-panel.component.ts +++ b/src/app/components/analysis-panel/analysis-panel.component.ts @@ -477,8 +477,6 @@ export class AnalysisPanelComponent implements OnInit, OnChanges { // option to use scores[node] as gradient, but sccores are very small nodes.push(NetworkSettings.getNodeStyle(nodeDetails as Node, config, false, isSeed[node], 1)) } - console.log('nodes') - console.log(nodes) for (const edge of network.edges) { edges.push(mapCustomEdge(edge, this.myConfig)); } diff --git a/src/app/config.ts b/src/app/config.ts index a23c4519..f104d015 100644 --- a/src/app/config.ts +++ b/src/app/config.ts @@ -136,7 +136,7 @@ export const defaultConfig: IConfig = { groupName: 'Found Drugs', color: { border: '#F12590', - background: '##F12590', + background: '#F12590', highlight: { border: '#F12590', background: '#F12590' diff --git a/src/app/main-network.ts b/src/app/main-network.ts index c66def70..3dbe25be 100644 --- a/src/app/main-network.ts +++ b/src/app/main-network.ts @@ -115,7 +115,5 @@ export function mapCustomEdge(customEdge: NodeInteraction, config: IConfig): any ...edge, ...customEdge } - console.log('edge') - console.log(edge) return edge; } diff --git a/src/app/network-settings.ts b/src/app/network-settings.ts index 71b6c28b..077e5386 100644 --- a/src/app/network-settings.ts +++ b/src/app/network-settings.ts @@ -143,9 +143,7 @@ export class NetworkSettings { node = merge(node, config.nodeGroups.seedNode); } else if (isSelected) { // apply selected node style to node - console.log(node) node = merge(node, config.nodeGroups.selectedNode); - console.log(node) } // show image if image url is given if (node.image) { -- GitLab