[Biopython-dev] [Bug 3046] PhyloXML, please define get/set methods
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Sat Apr 10 04:13:47 UTC 2010
http://bugzilla.open-bio.org/show_bug.cgi?id=3046
eric.talevich at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Comment #10 from eric.talevich at gmail.com 2010-04-10 00:13 EST -------
(In reply to comment #9)
> [T]he behavior of taxonomies, properties and the other sometimes-plural
> attributes should be fixed: they already support singular getters for
> one-element lists, so there should be corresponding setters that
> (a) put one element in the list if it's empty
> (b) replace the element in the list if there's only one
> (c) raise an exception if there are already multiple elements in the list
>
> I'm leaving this bug open for that.
>
Done, and then some:
http://github.com/biopython/biopython/commit/a1d4a1be469c6d06fcb093073dff0679b7ec5257
--
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