changeset 11:6955e091c023 draft

planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/samtools_idxstats commit 37d5b47ec23e2cbaa453cc660bb1fcbb10dd34ee-dirty
author peterjc
date Wed, 17 May 2017 11:21:00 -0400
parents 515fc5316fdb
children c01ff711ee54
files tools/samtools_idxstats/README.rst tools/samtools_idxstats/samtools_idxstats.py tools/samtools_idxstats/samtools_idxstats.xml
diffstat 3 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/samtools_idxstats/README.rst	Thu May 11 12:48:26 2017 -0400
+++ b/tools/samtools_idxstats/README.rst	Wed May 17 11:21:00 2017 -0400
@@ -56,6 +56,7 @@
         - Planemo for Tool Shed upload (``.shed.yml``, internal change only).
 v0.0.5  - Use ``<command detect_errors="aggressive">`` (internal change only).
         - Single quote command line arguments (internal change only).
+v0.0.6  - Python 3 compatible print function.
 ======= ======================================================================
 
 
--- a/tools/samtools_idxstats/samtools_idxstats.py	Thu May 11 12:48:26 2017 -0400
+++ b/tools/samtools_idxstats/samtools_idxstats.py	Wed May 17 11:21:00 2017 -0400
@@ -11,13 +11,15 @@
 tabular file.
 """
 
+from __future__ import print_function
+
 import os
 import sys
 import tempfile
 
 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.2)"
+    print("(Galaxy wrapper v0.0.3)")
     cmd = "samtools 2>&1 | grep -i ^Version"
     sys.exit(os.system(cmd))
 
--- a/tools/samtools_idxstats/samtools_idxstats.xml	Thu May 11 12:48:26 2017 -0400
+++ b/tools/samtools_idxstats/samtools_idxstats.xml	Wed May 17 11:21:00 2017 -0400
@@ -1,4 +1,4 @@
-<tool id="samtools_idxstats" name="BAM mapping statistics" version="0.0.5">
+<tool id="samtools_idxstats" name="BAM mapping statistics" version="0.0.6">
     <description>samtools idxstats</description>
     <requirements>
         <requirement type="package" version="0.1.19">samtools</requirement>