From ed782af5b691c2262811d515da84641b964d679d Mon Sep 17 00:00:00 2001
From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr>
Date: Tue, 30 Jun 2020 17:05:27 +0200
Subject: [PATCH] src/find_interaction_cluster/__main__.py: modification of
 main_function by adding the new parameter html_fig

---
 src/find_interaction_cluster/__main__.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/find_interaction_cluster/__main__.py b/src/find_interaction_cluster/__main__.py
index 9c126dca..4cbe6ad3 100644
--- a/src/find_interaction_cluster/__main__.py
+++ b/src/find_interaction_cluster/__main__.py
@@ -18,6 +18,7 @@ def launcher(weight: List[int] = (1),
              global_weight: List[int] = (0),
              same_gene: bool = True,
              ps: int = ConfigGraph.cpu,
+             html_fig: bool = False,
              logging_level: str = "DISABLE"):
     """
     Script used to find communities inside  exon co-localized within a project
@@ -30,9 +31,10 @@ def launcher(weight: List[int] = (1),
     :param project: The name of the project of interest (default GSM1517081)
     :param same_gene: Say if we consider as co-localised, exons within the \
     same gene (True) or not (False) (default False)
+    :param  html_fig: True to display the html figure (default False).
     :param logging_level: The level of data to display (default 'DISABLE')
     """
-    multiple_community_launcher(ps, weight, global_weight, same_gene,
+    multiple_community_launcher(ps, weight, global_weight, same_gene, html_fig,
                                 logging_level)
 
 
-- 
GitLab