From 1d65462a02018ecef79ce3058ab1a4244d8aa2a5 Mon Sep 17 00:00:00 2001 From: VIGNET Pierre <pierre.vignet@irisa.fr> Date: Thu, 21 Nov 2019 05:16:21 +0100 Subject: [PATCH] [cmd] Deactivate all_macs option temporary; It is always activated in the new API --- command_line/cadbiom_cmd/cadbiom_cmd.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/command_line/cadbiom_cmd/cadbiom_cmd.py b/command_line/cadbiom_cmd/cadbiom_cmd.py index 955528f..cb2a659 100644 --- a/command_line/cadbiom_cmd/cadbiom_cmd.py +++ b/command_line/cadbiom_cmd/cadbiom_cmd.py @@ -41,6 +41,8 @@ def solutions_search(args): # Module import import solution_search + # Temporary fix: all_macs is always activated in the new API + args["all_macs"] = True solution_search.solutions_search(args) # ! @@ -308,9 +310,9 @@ def main(): help="Limit the number of solutions.") # https://docs.python.org/dev/library/argparse.html#action # all_macs to False by default - parser_input_file.add_argument('--all_macs', action='store_true', - help="Solver will try to search all macs from 0 to the maximum of " - "allowed steps.") + #parser_input_file.add_argument('--all_macs', action='store_true', + # help="Solver will try to search all macs from 0 to the maximum of " + # "allowed steps.") # continue to False by default parser_input_file.add_argument('--continue', action='store_true', help="Resume previous computations; if there is a mac file from a " -- GitLab