Skip to content
Snippets Groups Projects
Commit a2db1464 authored by nfontrod's avatar nfontrod
Browse files

src/find_interaction_cluster/__main__.py: modification of main function to use...

src/find_interaction_cluster/__main__.py: modification of main function to use multiple_community_launcher
parent 5caad347
Branches
No related tags found
No related merge requests found
...@@ -7,13 +7,17 @@ Description: Launch the script dedicated to find communities ...@@ -7,13 +7,17 @@ Description: Launch the script dedicated to find communities
""" """
from .community_finder import community_finder from .community_finder import multiple_community_launcher
import lazyparser as lp import lazyparser as lp
from .config import ConfigGraph
from typing import List
@lp.parse @lp.parse
def launcher(weight: int = 1, global_weight: int = 0, def launcher(weight: List[int] = (1),
project: str = "GSM1517081", same_gene: bool = True, global_weight: List[int] = (0),
same_gene: bool = True,
ps: int = ConfigGraph.cpu,
logging_level: str = "DISABLE"): logging_level: str = "DISABLE"):
""" """
Script used to find communities inside exon co-localized within a project Script used to find communities inside exon co-localized within a project
...@@ -28,7 +32,8 @@ def launcher(weight: int = 1, global_weight: int = 0, ...@@ -28,7 +32,8 @@ def launcher(weight: int = 1, global_weight: int = 0,
same gene (True) or not (False) (default False) same gene (True) or not (False) (default False)
:param logging_level: The level of data to display (default 'DISABLE') :param logging_level: The level of data to display (default 'DISABLE')
""" """
community_finder(weight, global_weight, project, same_gene, logging_level) multiple_community_launcher(ps, weight, global_weight, same_gene,
logging_level)
launcher() launcher()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment