Adjust dome command line parameters

This commit is contained in:
Yorick Barbanneau 2023-12-20 22:48:16 +01:00
parent b4a2fd7484
commit 928cff6400

View file

@ -55,7 +55,7 @@ def parse_aguments():
parser.add_argument('--weight', parser.add_argument('--weight',
help='Weight table for weight based heuristic engines', help='Weight table for weight based heuristic engines',
type=int, type=int,
nargs=3, nargs=4,
default=[-5, 2, 10,25] default=[-5, 2, 10,25]
) )
parser.add_argument('-bR', '--black-randomize-moves', parser.add_argument('-bR', '--black-randomize-moves',
@ -101,7 +101,7 @@ if __name__ == '__main__':
"weight": WeightHeuristicEngine, "weight": WeightHeuristicEngine,
"full": FullHeuristicEngine, "full": FullHeuristicEngine,
} }
print("Stating PyReverso...") print("Starting PyReverso...")
args = parse_aguments() args = parse_aguments()
logger = log.getLogger() logger = log.getLogger()
# Create handler for streaming to tty (stderr / stdout) # Create handler for streaming to tty (stderr / stdout)