Changeset 1095


Ignore:
Timestamp:
03/03/21 04:47:10 (3 years ago)
Author:
Maciej Komosinski
Message:

Cosmetic

Location:
framspy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksEvolution.py

    r1094 r1095  
    7272        parser = argparse.ArgumentParser(description='Run this program with "python -u %s" if you want to disable buffering of its output.' % sys.argv[0])
    7373        parser.add_argument('-path', type=ensureDir, required=True, help='Path to Framsticks CLI without trailing slash.')
    74         parser.add_argument('-exe', required=False, help='Executable name. If not given, "frams.exe" or "frams.linux" is assumed.')
     74        parser.add_argument('-lib', required=False, help='Library name. If not given, "frams-objects.dll" or "frams-objects.so" is assumed depending on the platform.')
    7575        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.')
    7676        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.')
     
    9191        FramsticksLib.DETERMINISTIC = False  # must be set before FramsticksLib() constructor call
    9292        parsed_args = parseArguments()
    93         framsLib = FramsticksLib(parsed_args.path, parsed_args.exe, parsed_args.simsettings)
     93        framsLib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.simsettings)
    9494
    9595        toolbox = prepareToolbox(framsLib, '1' if parsed_args.genformat is None else parsed_args.genformat)
  • framspy/FramsticksLib.py

    r1091 r1095  
    124124
    125125                # if you want to override what EVALUATION_SETTINGS_FILE sets, you can do it below:
    126                 # frams.SimilMeasure.type = 1
     126                # frams.SimilMeasure.simil_type = 1
    127127                # frams.SimilMeasureHungarian.simil_partgeom = 1
    128128                # frams.SimilMeasureHungarian.simil_weightedMDS = 1
Note: See TracChangeset for help on using the changeset viewer.