Skip to content

Commit

Permalink
Merge pull request #60 from alvanuffelen/log_fix
Browse files Browse the repository at this point in the history
- Put first logging instance after basicConfig call
  • Loading branch information
wdecoster authored Sep 6, 2022
2 parents 76147c1 + 19712b7 commit 5a8a3ee
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 5a8a3ee

Please sign in to comment.