Ignore:
Timestamp:
06/26/20 01:32:15 (2 years ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksCLI.py

    r956 r961  
    4545        CLI_INPUT_FILE = "genotypes.gen"
    4646
    47         _last_instance_id = count(0)  # "static" counter incremented when a new instance is created. Used for unique filenames
     47        _next_instance_id = count(0)  # "static" counter incremented when a new instance is created. Used for unique filenames
    4848
    4949
    5050        def __init__(self, framspath, framsexe):
    51                 self.id = next(FramsticksCLI._last_instance_id)
     51                self.id = next(FramsticksCLI._next_instance_id)
    5252                self.frams_path = framspath
    5353                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.