# HG changeset patch # User peterjc # Date 1495188264 14400 # Node ID a89d62b8a239ab76eda256a8631133c55bc081d8 # Parent 5737e2e7179a6ac5a8e9989a7110b6eebcbb1c88 planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/blastxml_to_top_descr commit b09e12603b1264688a023dd5111c946c01af9e59-dirty diff -r 5737e2e7179a -r a89d62b8a239 tools/blastxml_to_top_descr/README.rst --- a/tools/blastxml_to_top_descr/README.rst Thu May 18 12:44:22 2017 -0400 +++ b/tools/blastxml_to_top_descr/README.rst Fri May 19 06:04:24 2017 -0400 @@ -75,6 +75,7 @@ - Planemo for Tool Shed upload (``.shed.yml``, internal change only). - Use ```` (internal change only). - Single quote command line arguments (internal change only). + - Python 3 compatible syntax. ======= ====================================================================== diff -r 5737e2e7179a -r a89d62b8a239 tools/blastxml_to_top_descr/blastxml_to_top_descr.py --- a/tools/blastxml_to_top_descr/blastxml_to_top_descr.py Thu May 18 12:44:22 2017 -0400 +++ b/tools/blastxml_to_top_descr/blastxml_to_top_descr.py Fri May 19 06:04:24 2017 -0400 @@ -7,6 +7,8 @@ Assumes the hits are pre-sorted, so "best" 3 hits gives first 3 hits. """ +from __future__ import print_function + import os import re import sys @@ -14,7 +16,7 @@ from optparse import OptionParser if "-v" in sys.argv or "--version" in sys.argv: - print "v0.1.1" + print("v0.1.2") sys.exit(0) if sys.version_info[:2] >= (2, 5):