diff options
Diffstat (limited to 'bin/salis.py')
-rwxr-xr-x | bin/salis.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/bin/salis.py b/bin/salis.py index dc86d1d..31a6ac1 100755 --- a/bin/salis.py +++ b/bin/salis.py @@ -21,6 +21,7 @@ import re import sys import time import traceback + from argparse import ArgumentParser, HelpFormatter from ctypes import CDLL, c_bool, c_uint8, c_uint32, c_char_p, POINTER from handler import Handler @@ -151,6 +152,11 @@ class Salis: """ self.__exit = True + + ############################### + # Private methods + ############################### + def __get_path(self): """ Retrieve the absolute path of this script. We need to do this in order to detect the './lib', './sims' and './genomes' subdirectories. @@ -334,7 +340,10 @@ class Salis: return lib + +############################### +# Entry point +############################### + if __name__ == "__main__": - """ Entry point... - """ Salis().run() |