Skip to content

Commit

Permalink
DEV: fix logging names
Browse files Browse the repository at this point in the history
  • Loading branch information
Vini2 committed Aug 16, 2024
1 parent a5ac776 commit 148f2eb
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/graphbin2/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def main(

# Setup logger
# -----------------------
logger = logging.getLogger("GraphBin2 1.2.0")
logger = logging.getLogger(f"GraphBin2 {__version__}")
logger.setLevel(logging.DEBUG)
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
consoleHeader = logging.StreamHandler()
Expand Down
9 changes: 8 additions & 1 deletion src/graphbin2/graphbin2_Flye.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@

from .bidirectionalmap.bidirectionalmap import BidirectionalMap

__author__ = "Vijini Mallawaarachchi, Anuradha Wickramarachchi, and Yu Lin"
__copyright__ = "Copyright 2020, GraphBin2 Project"
__license__ = "BSD"
__version__ = "1.3.2"
__maintainer__ = "Vijini Mallawaarachchi"
__email__ = "[email protected]"
__status__ = "Stable Release"

def run(args):
# Get arguments
Expand All @@ -40,7 +47,7 @@ def run(args):

# Setup logger
# -----------------------
logger = logging.getLogger("GraphBin2")
logger = logging.getLogger(f"GraphBin2 {__version__}")
logger.setLevel(logging.DEBUG)
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
consoleHeader = logging.StreamHandler()
Expand Down
10 changes: 9 additions & 1 deletion src/graphbin2/graphbin2_MEGAHIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@

from .bidirectionalmap.bidirectionalmap import BidirectionalMap

__author__ = "Vijini Mallawaarachchi, Anuradha Wickramarachchi, and Yu Lin"
__copyright__ = "Copyright 2020, GraphBin2 Project"
__license__ = "BSD"
__version__ = "1.3.2"
__maintainer__ = "Vijini Mallawaarachchi"
__email__ = "[email protected]"
__status__ = "Stable Release"


def run(args):
# Get arguments
Expand All @@ -39,7 +47,7 @@ def run(args):

# Setup logger
# -----------------------
logger = logging.getLogger("GraphBin2")
logger = logging.getLogger(f"GraphBin2 {__version__}")
logger.setLevel(logging.DEBUG)
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
consoleHeader = logging.StreamHandler()
Expand Down
10 changes: 9 additions & 1 deletion src/graphbin2/graphbin2_SGA.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@

from .bidirectionalmap.bidirectionalmap import BidirectionalMap

__author__ = "Vijini Mallawaarachchi, Anuradha Wickramarachchi, and Yu Lin"
__copyright__ = "Copyright 2020, GraphBin2 Project"
__license__ = "BSD"
__version__ = "1.3.2"
__maintainer__ = "Vijini Mallawaarachchi"
__email__ = "[email protected]"
__status__ = "Stable Release"


def run(args):
# Get arguments
Expand All @@ -39,7 +47,7 @@ def run(args):

# Setup logger
# -----------------------
logger = logging.getLogger("GraphBin2")
logger = logging.getLogger(f"GraphBin2 {__version__}")
logger.setLevel(logging.DEBUG)
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
consoleHeader = logging.StreamHandler()
Expand Down
10 changes: 9 additions & 1 deletion src/graphbin2/graphbin2_SPAdes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@

from .bidirectionalmap.bidirectionalmap import BidirectionalMap

__author__ = "Vijini Mallawaarachchi, Anuradha Wickramarachchi, and Yu Lin"
__copyright__ = "Copyright 2020, GraphBin2 Project"
__license__ = "BSD"
__version__ = "1.3.2"
__maintainer__ = "Vijini Mallawaarachchi"
__email__ = "[email protected]"
__status__ = "Stable Release"


def run(args):
# Get arguments
Expand All @@ -39,7 +47,7 @@ def run(args):

# Setup logger
# -----------------------
logger = logging.getLogger("GraphBin2")
logger = logging.getLogger(f"GraphBin2 {__version__}")
logger.setLevel(logging.DEBUG)
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
consoleHeader = logging.StreamHandler()
Expand Down

0 comments on commit 148f2eb

Please sign in to comment.