Previous changeset 2:02572789ef6c (2017-05-16) |
Commit message:
v0.0.5 Python 3 compatible print function. |
modified:
tools/samtools_depad/README.rst tools/samtools_depad/samtools_depad.py tools/samtools_depad/samtools_depad.xml |
b |
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 |
b |
@@ -56,6 +56,7 @@ - Planemo for Tool Shed upload (``.shed.yml``, internal change only). v0.0.4 - Use ``<command detect_errors="aggressive">`` (internal change only). - Single quote command line arguments (internal change only). +v0.0.5 - Python 3 compatible print function. ======= ====================================================================== |
b |
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 |
b |
@@ -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)) |
b |
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 |
b |
@@ -1,4 +1,4 @@ -<tool id="samtools_depad" name="Depad SAM/BAM file" version="0.0.4"> +<tool id="samtools_depad" name="Depad SAM/BAM file" version="0.0.5"> <description>samtools depad</description> <requirements> <requirement type="package" version="0.1.19">samtools</requirement> |