Bioperl: Bioperl 0.6.1 release
Ewan Birney
birney@ebi.ac.uk
Wed, 10 May 2000 12:11:33 +0100 (BST)
On Wed, 10 May 2000, James Gilbert wrote:
> > classifiication() now returns the same list as before, to preserve
> > backwards compatibility, but (thanks to Hilmar for
> >
> > Backward compatibility is generally a good thing, but shouldn't dominate
> > design, at least IMHO.
>
> > I think a method for set/get that does not return
> > the same array as it requires is not well designed.
> Yes, but this doesn't happen.
>
> > So, I think either
> > subspecies must be set through sub_species($subspecies) only, or if it
> > allowed to be passed to classification(), it
> > should be returned there as well.
>
> I decided that it was cleaner to get and set
> subspecies (which is only occasionally available)
> through the sub_species() method, and keep species
> and genus as the first and second elements of the
> classification() array (since these are almost
> always available).
This agrees with my in-built design prejuidice. Many thanks hilmar for
finding the bug. I hope you don't mind that james fixed a slightly
different way.
Good to see the 0.6.1 release heading out of the door ;)
>
> James
>
> James G.R. Gilbert
> The Sanger Centre
> Wellcome Trust Genome Campus
> Hinxton
> Cambridge Tel: 01223 494906
> CB10 1SA Fax: 01223 494919
>
> =========== Bioperl Project Mailing List Message Footer =======
> Project URL: http://bio.perl.org/
> For info about how to (un)subscribe, where messages are archived, etc:
> http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
> ====================================================================
>
-----------------------------------------------------------------
Ewan Birney. Mobile: +44 (0)7970 151230, Work: +44 1223 494420
<birney@ebi.ac.uk>.
-----------------------------------------------------------------
=========== Bioperl Project Mailing List Message Footer =======
Project URL: http://bio.perl.org/
For info about how to (un)subscribe, where messages are archived, etc:
http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
====================================================================