Changeset 1094
- Timestamp:
- 02/25/21 21:01:59 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksEvolution.py
r1080 r1094 73 73 parser.add_argument('-path', type=ensureDir, required=True, help='Path to Framsticks CLI without trailing slash.') 74 74 parser.add_argument('-exe', required=False, help='Executable name. If not given, "frams.exe" or "frams.linux" is assumed.') 75 parser.add_argument('-simsettings', required=False, help='The name of the .sim file with settings for evaluation, mutation, crossover, and similarity estimation. If not given, "eval-allcriteria.sim" is assumed by default. Must be compatible with the "standard-eval" expdef.') 75 76 parser.add_argument('-genformat', required=False, help='Genetic format for the demo run, for example 4, 9, or B. If not given, f1 is assumed.') 76 77 return parser.parse_args() … … 90 91 FramsticksLib.DETERMINISTIC = False # must be set before FramsticksLib() constructor call 91 92 parsed_args = parseArguments() 92 framsLib = FramsticksLib(parsed_args.path, parsed_args.exe )93 framsLib = FramsticksLib(parsed_args.path, parsed_args.exe, parsed_args.simsettings) 93 94 94 95 toolbox = prepareToolbox(framsLib, '1' if parsed_args.genformat is None else parsed_args.genformat)
Note: See TracChangeset
for help on using the changeset viewer.