diff options
author | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 02:29:14 +0100 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 02:29:14 +0100 |
commit | d53a4216c3219dc94cd45789142a2f28b5e0e1f7 (patch) | |
tree | 8921d48553bbb59646f5371fa088a48c8aa71b50 /bin/salis.py | |
parent | 0a03015960e99290cb8efe8321dc312a2c1a0a39 (diff) |
Format tweaks to Python files [#30]
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() |