Skip to content
Snippets Groups Projects
Commit 110626fc authored by Julian Matschinske's avatar Julian Matschinske
Browse files

Reset infobox when changing dataset

parent 84c254c2
No related branches found
No related tags found
No related merge requests found
...@@ -194,15 +194,6 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit { ...@@ -194,15 +194,6 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit {
}); });
} }
public changeInfo(wrapper: Wrapper | null) {
// this.selectedItem = showList[0];
// this.selectedName = showList[1];
// this.selectedType = showList[2];
// this.selectedId = showList[3];
// this.selectedVirusName = showList[4];
// this.selectedStatus = showList[5];
}
public async openSummary(item: Wrapper, zoom: boolean) { public async openSummary(item: Wrapper, zoom: boolean) {
this.selectedWrapper = item; this.selectedWrapper = item;
if (zoom) { if (zoom) {
...@@ -218,6 +209,7 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit { ...@@ -218,6 +209,7 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit {
public async createNetwork(dataset: Array<[string, string]>) { public async createNetwork(dataset: Array<[string, string]>) {
this.analysis.resetSelection(); this.analysis.resetSelection();
this.selectedWrapper = null;
await this.getNetwork(dataset); await this.getNetwork(dataset);
this.proteinData = new ProteinNetwork(this.proteins, this.effects, this.edges); this.proteinData = new ProteinNetwork(this.proteins, this.effects, this.edges);
if (!this.dumpPositions) { if (!this.dumpPositions) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment