Commit 592d8a9e authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Rename compute_macs to solutions_search

parent 0f0ba6f4
......@@ -35,15 +35,15 @@ import cadbiom.commons as cm
LOGGER = cm.logger()
def launch_researchs(args):
"""Parse arguments and launch Cadbiom search of MACs
(Minimal Activation Conditions).
def solutions_search(args):
"""Launch the search for Minimum Activation Conditions (MAC) for entities
of interest.
"""
# Module import
import solution_search
params = args_to_param(args)
solution_search.launch_researchs(params) # !
solution_search.solutions_search(params) # !
def solutions_sort(args):
......@@ -221,8 +221,8 @@ def main():
# start_prop = None
# inv_prop = None
parser_input_file = subparsers.add_parser(
'compute_macs',
help=launch_researchs.__doc__,
'solutions_search',
help=solutions_search.__doc__,
formatter_class=argparse.ArgumentDefaultsHelpFormatter
)
parser_input_file.add_argument('chart_file')
......@@ -254,7 +254,7 @@ def main():
parser_input_file.add_argument('--start_prop', nargs='?', default=None)
parser_input_file.add_argument('--inv_prop', nargs='?', default=None)
parser_input_file.set_defaults(func=launch_researchs)
parser_input_file.set_defaults(func=solutions_search)
## Solutions-related commands ##############################################
......
......@@ -526,9 +526,9 @@ def compute_combinations(final_properties):
return all_combinations
def launch_researchs(params):
"""Parse arguments and launch Cadbiom search of MACs
(Minimal Activation Conditions).
def solutions_search(params):
"""Launch the search for Minimum Activation Conditions (MAC) for entities
of interest.
* If there is no input file, there will be only one process.
* If an input file is given, there will be 1 process per line
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment