Changeset 1204


Ignore:
Timestamp:
02/20/23 21:13:28 (14 months ago)
Author:
Maciej Komosinski
Message:

Allow to provide more than one .sim file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksLib.py

    r1203 r1204  
    5959                frams.Simulator.expdef = "standard-eval"  # this expdef (or fully compatible) must be used by EVALUATION_SETTINGS_FILE
    6060                if sim_settings_files is not None:
    61                         self.EVALUATION_SETTINGS_FILE = sim_settings_files # overwrite defaults
     61                        self.EVALUATION_SETTINGS_FILE = sim_settings_files.split(";") # overwrite defaults
    6262                print('Basic tests OK. Using settings:', self.EVALUATION_SETTINGS_FILE)
    6363                print()
     
    215215        parser.add_argument('-path', type=ensureDir, required=True, help='Path to the Framsticks library (.dll or .so or .dylib) without trailing slash.')
    216216        parser.add_argument('-lib', required=False, help='Library name. If not given, "frams-objects.dll" (or .so or .dylib) is assumed depending on the platform.')
    217         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.')
     217        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. If you want to provide more files, separate them with a semicolon ';'.")
    218218        parser.add_argument('-genformat', required=False, help='Genetic format for the demo run, for example 4, 9, or S. If not given, f1 is assumed.')
    219219        return parser.parse_args()
Note: See TracChangeset for help on using the changeset viewer.