Skip to content

Commit

Permalink
print r2t version & enable logger
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamajidian committed Mar 31, 2024
1 parent ec5f4c4 commit e9fd497
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion read2tree/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
COPYRIGHT = '(C) 2017-{:d} David V Dylus'.format(date.today().year)

logger = logging.getLogger(__name__)
logger.disabled = True
#logger.disabled = True

def parse_args(argv, exe_name, desc):
'''
Expand Down Expand Up @@ -262,6 +262,10 @@ def main(argv, exe_name, desc=''):
'''
Main function.
'''
from . import __version__ as r2t_version

logger.info(' ------- Read2Tree version: {} -------'.format(r2t_version))
print(' ------- Read2Tree version: '+str(r2t_version)+' -------')

t1 = timer()
# Parse
Expand Down

0 comments on commit e9fd497

Please sign in to comment.