From 6ba8463565d881aa9950acbde234ea1ea400451d Mon Sep 17 00:00:00 2001
From: Michael Hartung <michi@Michaels-MacBook-Pro.local>
Date: Tue, 27 Jul 2021 18:08:11 +0200
Subject: [PATCH] selction invert function

---
 src/app/pages/explorer-page/explorer-page.component.html | 4 ++--
 src/app/services/analysis/analysis.service.ts            | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/app/pages/explorer-page/explorer-page.component.html b/src/app/pages/explorer-page/explorer-page.component.html
index 2cf67c45..962cbb89 100644
--- a/src/app/pages/explorer-page/explorer-page.component.html
+++ b/src/app/pages/explorer-page/explorer-page.component.html
@@ -439,7 +439,7 @@
         </a>
       </header>
       <div *ngIf="collapseSelection" class="seed-selection" [ngClass]="{'text-normal':smallStyle}">
-        <div class="card-content overflow">
+        <!-- <div class="card-content overflow">
           <table class="table selection-table" *ngIf="analysis.getCount() > 0">
             <thead>
             <tr>
@@ -507,7 +507,7 @@
               Tissue proteins
             </span>
           </a>
-        </footer>
+        </footer> -->
 
         <footer class="card-footer">
           <a (click)="analysis.invertSelection(currentViewNodes)" class="card-footer-item text-primary"
diff --git a/src/app/services/analysis/analysis.service.ts b/src/app/services/analysis/analysis.service.ts
index 97b4accc..6b3a7b6a 100644
--- a/src/app/services/analysis/analysis.service.ts
+++ b/src/app/services/analysis/analysis.service.ts
@@ -162,6 +162,7 @@ export class AnalysisService {
         newSelection.push(node);
       }
     });
+    console.log(nodes)
     this.selectedItems.clear();
     for (const wrapper of newSelection) {
       this.selectedItems.set(wrapper.nodeId, wrapper);
-- 
GitLab