[Biopython-dev] [Bug 3047] PhyloXML, behavior on setting color and width doesn't match docstring or spec

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Apr 6 22:29:50 UTC 2010


http://bugzilla.open-bio.org/show_bug.cgi?id=3047





------- Comment #1 from biopython-bugzilla at maubp.freeserve.co.uk  2010-04-06 18:29 EST -------
(In reply to comment #0)
>
> ...
> >>> tree.clade[0].color = Phylo.PhyloXML.BranchColor(255,0,255)
> >>> tree.clade[0].color
> BranchColor(blue='255', green='0', red='255')

Maybe I should file this as a separate bug, but it looks like BranchColor
needs an explicit __repr__ to ensure the arguments are listed as in the
__init__ defintion (which is the conventional red, green, blue order -
rather than alphabetical).


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list