Skip to content

Commit

Permalink
Slightly cleaner sketchlib info dump
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlees committed Apr 20, 2020
1 parent 67ca5bf commit 67cc86c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PopPUNK/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,14 @@ def main():

# run according to mode
sys.stderr.write("PopPUNK (POPulation Partitioning Using Nucleotide Kmers)\n")
sys.stderr.write("\t(with backend: " + dbFuncs['backend'] + " v" + dbFuncs['backend_version'] + ")\n")
sys.stderr.write("\t(with backend: " + dbFuncs['backend'] + " v" + dbFuncs['backend_version'] + "\n")
if (dbFuncs['backend'] == 'sketchlib'):
sketchlib_version = [int(x) for x in dbFuncs['backend_version'].split(".")]
if sketchlib_version[0] < SKETCHLIB_MAJOR or sketchlib_version[1] < SKETCHLIB_MINOR:
sys.stderr.write("This version of PopPUNK requires sketchlib v1.3.0 or higher\n")
sys.exit(1)
else:
sys.stderr.write('\tsketchlib: ' + checkSketchlibLibrary() + '\n')
sys.stderr.write('\t sketchlib: ' + checkSketchlibLibrary() + ')\n')

#******************************#
#* *#
Expand Down

0 comments on commit 67cc86c

Please sign in to comment.