18 Jun 2013 08:06
[Biopython - Bug #3435] (New) Pyhlo.draw_ascii() type error
<redmine <at> redmine.open-bio.org>
2013-06-18 06:06:50 GMT
2013-06-18 06:06:50 GMT
Issue #3435 has been reported by Giulio Valentino Dalla Riva. ---------------------------------------- Bug #3435: Pyhlo.draw_ascii() type error https://redmine.open-bio.org/issues/3435 Author: Giulio Valentino Dalla Riva Status: New Priority: Normal Assignee: Category: Target version: URL: I define a simple tree in a newick format file (the example one in the tutorial 13.1). I read it using <at> tree = Phylo.read("simple.dnd", "newick") <at> which works. When I try to use draw_ascii() to draw it I get a Type error: <at> Phylo.draw_ascii(tree) <at> produces <at> Traceback (most recent call last): File "<pyshell#7>", line 1, in <module> Phylo.draw_ascii(tree) File "C:\Python32\lib\site-packages\Bio\Phylo\_utils.py", line 253, in draw_ascii draw_clade(tree.root, 0) File "C:\Python32\lib\site-packages\Bio\Phylo\_utils.py", line 239, in draw_clade char_matrix[thisrow][col] = '_' TypeError: list indices must be integers, not float <at>(Continue reading)
RSS Feed