changeset 5:2c32e8a8990f draft

v0.0.9 Python 3 compatible print function
author peterjc
date Thu, 11 May 2017 06:13:04 -0400
parents c8469274d136
children b27388e5a0bb
files tools/align_back_trans/README.rst tools/align_back_trans/align_back_trans.py tools/align_back_trans/align_back_trans.xml
diffstat 3 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/align_back_trans/README.rst	Wed May 10 12:05:28 2017 -0400
+++ b/tools/align_back_trans/README.rst	Thu May 11 06:13:04 2017 -0400
@@ -79,6 +79,7 @@
 
         - Use ``<command detect_errors="aggressive">`` (internal change only).
         - Single quote command line arguments (internal change only).
+v0.0.9  - Python 3 compatible print function.
 ======= ======================================================================
 
 
--- a/tools/align_back_trans/align_back_trans.py	Wed May 10 12:05:28 2017 -0400
+++ b/tools/align_back_trans/align_back_trans.py	Thu May 11 06:13:04 2017 -0400
@@ -17,6 +17,8 @@
 See accompanying text file for licence details (MIT licence).
 """
 
+from __future__ import print_function
+
 import sys
 
 from Bio import AlignIO
@@ -28,7 +30,7 @@
 from Bio.Seq import Seq
 
 if "-v" in sys.argv or "--version" in sys.argv:
-    print "v0.0.7"
+    print("v0.0.9")
     sys.exit(0)
 
 
--- a/tools/align_back_trans/align_back_trans.xml	Wed May 10 12:05:28 2017 -0400
+++ b/tools/align_back_trans/align_back_trans.xml	Thu May 11 06:13:04 2017 -0400
@@ -1,4 +1,4 @@
-<tool id="align_back_trans" name="Thread nucleotides onto a protein alignment (back-translation)" version="0.0.8">
+<tool id="align_back_trans" name="Thread nucleotides onto a protein alignment (back-translation)" version="0.0.9">
     <description>Gives a codon aware alignment</description>
     <requirements>
         <requirement type="package" version="1.67">biopython</requirement>