changeset 3:588c6ce25867 draft default tip

v0.0.5 Python 3 compatible print function.
author peterjc
date Wed, 17 May 2017 09:15:32 -0400
parents 02572789ef6c
children
files tools/samtools_depad/README.rst tools/samtools_depad/samtools_depad.py tools/samtools_depad/samtools_depad.xml
diffstat 3 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 ``<command detect_errors="aggressive">`` (internal change only).
         - Single quote command line arguments (internal change only).
+v0.0.5  - Python 3 compatible print function.
 ======= ======================================================================
 
 
--- 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))
 
--- 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 @@
-<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>