Skip to content

Commit

Permalink
Print version at start of main command.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus1487 committed Oct 20, 2020
1 parent ab12eab commit 516bb62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions megalodon/megalodon.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import numpy as np
from tqdm import tqdm

from megalodon._version import MEGALODON_VERSION
from megalodon import (
aggregate, backends, fast5_io, logging, mapping, mods,
variants, megalodon_helper as mh, megalodon_multiprocessing as mega_mp)
Expand Down Expand Up @@ -1214,6 +1215,7 @@ def _main(args):
sys.exit(1)

logging.init_logger(args.output_directory)
LOGGER.info('Running Megalodon version {}'.format(MEGALODON_VERSION))
LOGGER.debug('Command: """' + ' '.join(sys.argv) + '"""')
if _DO_PROFILE:
LOGGER.warning('Running profiling. This may slow processing.')
Expand Down

0 comments on commit 516bb62

Please sign in to comment.