Changeset 961 for framspy/FramsticksCLI.py
- Timestamp:
- 06/26/20 01:32:15 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksCLI.py
r956 r961 45 45 CLI_INPUT_FILE = "genotypes.gen" 46 46 47 _ last_instance_id = count(0) # "static" counter incremented when a new instance is created. Used for unique filenames47 _next_instance_id = count(0) # "static" counter incremented when a new instance is created. Used for unique filenames 48 48 49 49 50 50 def __init__(self, framspath, framsexe): 51 self.id = next(FramsticksCLI._ last_instance_id)51 self.id = next(FramsticksCLI._next_instance_id) 52 52 self.frams_path = framspath 53 53 self.frams_exe = framsexe if framsexe is not None else 'frams.exe' if os.name == "nt" else 'frams.linux'
Note: See TracChangeset
for help on using the changeset viewer.