[Biopython-dev] [Bug 2671] Including GenomeDiagram in the main Biopython distribution

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Dec 11 11:50:17 UTC 2008


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





------- Comment #29 from biopython-bugzilla at maubp.freeserve.co.uk  2008-12-11 06:50 EST -------
(In reply to comment #28)
> (In reply to comment #26)
> > Also, I'm not sure that the existing colour/color dual support works 100%
> > of the time.  I had an old script using colour where the feature colours
> > specified ended up being the default of light green.  Using "color"
> > instead of "colour" in my script worked.  I'll try and investigate this
> > later.
> 
> Is this related to my fix in comment #9?

Possibly - although I was already using that version of AbstractDrawer.py

I've updated CVS to make it clear in the comments that "colour" arguments
override "color" arguments (this is required for backwards compatibility with
old scripts which would be using "colour").  I also had to fix the FeatureSet's
add_feature method to handle the colour/color mapping (this was the root of the
problem I had observed in comment 26).

I propose that in Biopython 1.50 we support both "colour" and "color", but for
Biopython 1.51 we add deprecation warnings when "colour" is used.

We should probably do the same thing for "centre" and "center" as well...


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



More information about the Biopython-dev mailing list