# HG changeset patch # User peterjc # Date 1495026932 14400 # Node ID 588c6ce2586728a68cc35be51289dcc25f03db1c # Parent 02572789ef6ce4f171e5e6964c9d8b0619df16c4 v0.0.5 Python 3 compatible print function. diff -r 02572789ef6c -r 588c6ce25867 tools/samtools_depad/README.rst --- a/tools/samtools_depad/README.rst Tue May 16 09:29:05 2017 -0400 +++ b/tools/samtools_depad/README.rst Wed May 17 09:15:32 2017 -0400 @@ -56,6 +56,7 @@ - Planemo for Tool Shed upload (``.shed.yml``, internal change only). v0.0.4 - Use ```` (internal change only). - Single quote command line arguments (internal change only). +v0.0.5 - Python 3 compatible print function. ======= ====================================================================== diff -r 02572789ef6c -r 588c6ce25867 tools/samtools_depad/samtools_depad.py --- a/tools/samtools_depad/samtools_depad.py Tue May 16 09:29:05 2017 -0400 +++ b/tools/samtools_depad/samtools_depad.py Wed May 17 09:15:32 2017 -0400 @@ -10,12 +10,14 @@ Runs "samtools depad" and captures the output to the desired BAM file. """ +from __future__ import print_function + import os import sys if "-v" in sys.argv or "--version" in sys.argv: # Galaxy seems to invert the order of the two lines - print "(Galaxy wrapper v0.0.4)" + print("(Galaxy wrapper v0.0.5)") cmd = "samtools 2>&1 | grep -i ^Version" sys.exit(os.system(cmd)) diff -r 02572789ef6c -r 588c6ce25867 tools/samtools_depad/samtools_depad.xml --- a/tools/samtools_depad/samtools_depad.xml Tue May 16 09:29:05 2017 -0400 +++ b/tools/samtools_depad/samtools_depad.xml Wed May 17 09:15:32 2017 -0400 @@ -1,4 +1,4 @@ - + samtools depad samtools