[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:40:54 UTC 2010


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





------- Comment #3 from joelb at lanl.gov  2010-04-06 18:40 EST -------
(In reply to comment #2)
> (In reply to comment #0)
> > From the Clade docstring:
> > 
> > "Both 'color' and 'width' elements apply for the whole clade unless
> > overwritten in-sub clades.
> 
> What is the bug? The docstring doesn't say the property will be explicitly
> cascaded down to the sub-clades, which seems to be your interpretation.
> Isn't that implicit when interpreting (drawing) the tree?
> 
> Peter
> 

I suppose one could maintain that it's the responsibility of user code to
enforce the behavior specified in the docstring, although I think that's a
recipe for incompatibilities.  However, neither of the two available user codes
I'm aware of (archaeoptryx or biopython's  Phylo.draw_graphviz) actually
implement it.  It's better to just change the docstring, I think.


-- 
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