Skip to content

Commit

Permalink
- Put first logging instance after basicConfig call
Browse files Browse the repository at this point in the history
  • Loading branch information
alvanuffelen committed Sep 6, 2022
1 parent 76147c1 commit 19712b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions nanofilt/NanoFilt.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@
import nanofilt.utils as utils
import logging
from math import log
from nanofilt.version import __version__


def main():
args = utils.get_args()
utils.start_logging(args.logfile)
logging.info('NanoFilt {} started with arguments {}'.format(__version__, args))
try:
if args.tailcrop:
args.tailcrop = -args.tailcrop
Expand Down
1 change: 0 additions & 1 deletion nanofilt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def get_args():
args.GC_filter = False
else:
args.GC_filter = True
logging.info('NanoFilt {} started with arguments {}'.format(__version__, args))
return args


Expand Down

0 comments on commit 19712b7

Please sign in to comment.