Previous changeset 13:462d362d0b8b (2013-04-29) Next changeset 15:c19e1150779d (2013-05-02) |
Commit message:
Uploaded v0.0.20 preview 5, cElementTree fallback |
modified:
tools/ncbi_blast_plus/blastxml_to_tabular.py tools/ncbi_blast_plus/ncbi_blast_plus.txt |
b |
diff -r 462d362d0b8b -r fb9cc7c43c22 tools/ncbi_blast_plus/blastxml_to_tabular.py --- a/tools/ncbi_blast_plus/blastxml_to_tabular.py Mon Apr 29 12:24:35 2013 -0400 +++ b/tools/ncbi_blast_plus/blastxml_to_tabular.py Thu May 02 11:21:54 2013 -0400 |
[ |
@@ -63,11 +63,14 @@ import re if "-v" in sys.argv or "--version" in sys.argv: - print "v0.0.11" + print "v0.0.12" sys.exit(0) if sys.version_info[:2] >= ( 2, 5 ): - import xml.etree.cElementTree as ElementTree + try: + from xml.etree import cElementTree as ElementTree + except ImportError: + from xml.etree import ElementTree as ElementTree else: from galaxy import eggs import pkg_resources; pkg_resources.require( "elementtree" ) |
b |
diff -r 462d362d0b8b -r fb9cc7c43c22 tools/ncbi_blast_plus/ncbi_blast_plus.txt --- a/tools/ncbi_blast_plus/ncbi_blast_plus.txt Mon Apr 29 12:24:35 2013 -0400 +++ b/tools/ncbi_blast_plus/ncbi_blast_plus.txt Thu May 02 11:21:54 2013 -0400 |
b |
@@ -104,6 +104,7 @@ v0.0.20 - Added unit tests for BLASTN and TBLASTX. - Automatic installation via the Tool Shed now uses the NCBI provided precompiled binaries for 64bit Linux, rather than compiling locally. + - Fallback on ElementTree if cElementTree missing in XML to tabular. Developers |