Repository 'blastxml_to_top_descr'
hg clone https://testtoolshed.g2.bx.psu.edu/repos/peterjc/blastxml_to_top_descr

Changeset 23:a6373b98096a (2018-10-23)
Previous changeset 22:0cef6172d6f1 (2018-06-05) Next changeset 24:c07b61d069ac (2018-11-09)
Commit message:
planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/blastxml_to_top_descr commit ed6325d44993c65dd9fbab02902ede0a9c0eeb80-dirty
modified:
tools/blastxml_to_top_descr/blastxml_to_top_descr.py
tools/blastxml_to_top_descr/repository_dependencies.xml
b
diff -r 0cef6172d6f1 -r a6373b98096a tools/blastxml_to_top_descr/blastxml_to_top_descr.py
--- a/tools/blastxml_to_top_descr/blastxml_to_top_descr.py Tue Jun 05 11:41:31 2018 -0400
+++ b/tools/blastxml_to_top_descr/blastxml_to_top_descr.py Tue Oct 23 06:26:04 2018 -0400
[
@@ -145,7 +145,7 @@
     context = iter(context)
     # get the root element
     try:
-        event, root = context.next()
+        event, root = next(context)
     except Exception:
         with open(in_file) as handle:
             header = handle.read(100)
@@ -238,6 +238,7 @@
 
 
 def best_hits(descriptions, topN):
+    """Truncate given descriptions list to at most N entries."""
     if len(descriptions) < topN:
         return descriptions + [""] * (topN - len(descriptions))
     else:
b
diff -r 0cef6172d6f1 -r a6373b98096a tools/blastxml_to_top_descr/repository_dependencies.xml
--- a/tools/blastxml_to_top_descr/repository_dependencies.xml Tue Jun 05 11:41:31 2018 -0400
+++ b/tools/blastxml_to_top_descr/repository_dependencies.xml Tue Oct 23 06:26:04 2018 -0400
b
@@ -1,4 +1,4 @@
 <?xml version="1.0"?>
 <repositories description="Requires BLAST XML and database datatype definitions.">
-<repository changeset_revision="63befb860c3e" name="blast_datatypes" owner="devteam" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+<repository changeset_revision="3eada762af11" name="blast_datatypes" owner="devteam" toolshed="https://testtoolshed.g2.bx.psu.edu" />
 </repositories>