# HG changeset patch # User peterjc # Date 1495026873 14400 # Node ID 0ff1f6fd73bcd3c0afb4eb118b1b853af424e3cf # Parent 81b90fa846c7742f7ba827acf1f0c99630b5cc06 v0.0.5 Python 3 compatible print function. diff -r 81b90fa846c7 -r 0ff1f6fd73bc tools/samtools_depad/README.rst --- a/tools/samtools_depad/README.rst Thu May 11 12:48:01 2017 -0400 +++ b/tools/samtools_depad/README.rst Wed May 17 09:14:33 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 81b90fa846c7 -r 0ff1f6fd73bc tools/samtools_depad/samtools_depad.py --- a/tools/samtools_depad/samtools_depad.py Thu May 11 12:48:01 2017 -0400 +++ b/tools/samtools_depad/samtools_depad.py Wed May 17 09:14:33 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 81b90fa846c7 -r 0ff1f6fd73bc tools/samtools_depad/samtools_depad.xml --- a/tools/samtools_depad/samtools_depad.xml Thu May 11 12:48:01 2017 -0400 +++ b/tools/samtools_depad/samtools_depad.xml Wed May 17 09:14:33 2017 -0400 @@ -1,4 +1,4 @@ - + samtools depad samtools