- Timestamp:
- 03/10/21 20:04:56 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksLib.py
r1095 r1101 45 45 if not self.DETERMINISTIC: 46 46 frams.Math.randomize(); 47 frams.Simulator.expdef = "standard-eval" # this expdef must be used by EVALUATION_SETTINGS_FILE47 frams.Simulator.expdef = "standard-eval" # this expdef (or fully compatible) must be used by EVALUATION_SETTINGS_FILE 48 48 if simsettings is not None: 49 49 self.EVALUATION_SETTINGS_FILE = simsettings 50 frams.Simulator.ximport(self.EVALUATION_SETTINGS_FILE, 4 + 8 + 16) 50 51 51 52 … … 67 68 68 69 frams.GenePools[0].clear() 69 frams.Simulator.ximport(self.EVALUATION_SETTINGS_FILE, 2 + 4 + 8 + 16)70 71 70 for g in genotype_list: 72 71 frams.GenePools[0].add(g) … … 178 177 framsDLL = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.simsettings) 179 178 180 print("Sending a direct command to Framsticks CLIthat calculates \"4\"+2 yields", frams.Simulator.eval("return \"4\"+2;"))179 print("Sending a direct command to Framsticks library that calculates \"4\"+2 yields", frams.Simulator.eval("return \"4\"+2;")) 181 180 182 181 simplest = framsDLL.getSimplest('1' if parsed_args.genformat is None else parsed_args.genformat)
Note: See TracChangeset
for help on using the changeset viewer.