diff --git a/src/find_interaction_cluster/__main__.py b/src/find_interaction_cluster/__main__.py index 283fcfb3edb368c9da131ee62cf73e5b7827c0d5..9c126dca1032fb3974ddcc0754793450e8bea071 100644 --- a/src/find_interaction_cluster/__main__.py +++ b/src/find_interaction_cluster/__main__.py @@ -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 +from .config import ConfigGraph +from typing import List @lp.parse -def launcher(weight: int = 1, global_weight: int = 0, - project: str = "GSM1517081", same_gene: bool = True, +def launcher(weight: List[int] = (1), + global_weight: List[int] = (0), + same_gene: bool = True, + ps: int = ConfigGraph.cpu, logging_level: str = "DISABLE"): """ 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, same gene (True) or not (False) (default False) :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() \ No newline at end of file