From d53a4216c3219dc94cd45789142a2f28b5e0e1f7 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 02:29:14 +0100 Subject: Format tweaks to Python files [#30] --- bin/salis.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'bin/salis.py') 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() -- cgit v1.2.1