From e3e8f1efde8e6990f828236b75f20d715da62917 Mon Sep 17 00:00:00 2001
From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr>
Date: Wed, 25 Nov 2020 11:26:15 +0100
Subject: [PATCH] src/find_interaction_cluster/nt_and_community.py: fix main
 function to work on all components

---
 src/find_interaction_cluster/nt_and_community.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/find_interaction_cluster/nt_and_community.py b/src/find_interaction_cluster/nt_and_community.py
index 36044dc8..a2faad83 100644
--- a/src/find_interaction_cluster/nt_and_community.py
+++ b/src/find_interaction_cluster/nt_and_community.py
@@ -765,7 +765,7 @@ def multiple_nt_lmm_launcher(ps: int,
     logging.info(f"Checking if communities as an effect on {component_type} "
                  "frequency")
     project = get_projects(global_weight, project)
-    cpnt_list = [get_features(component_type)[0]]
+    cpnt_list = get_features(component_type)
     condition = list(product([project], [weight], cpnt_list))
     processes = []
     pool = mp.Pool(processes=min(ps, len(condition)))
-- 
GitLab