[Bioperl-l] Re: coding custom Gene object

David Block dblock@gene.pbi.nrc.ca
Thu, 23 Aug 2001 16:54:15 -0600 (CST)

On Thu, 23 Aug 2001, Gene Cutler wrote:

> >
> >I'm in the midst of testing this code.  It seems to work too well.  In the
> >past, $gene->exons() would return the exons in the order put in to the
> >gene.  I by default sort them and return them in order.  This breaks some
> >of the tests.
> >
> >Should I
> >(a) un_default the sort of exons, or
> >(b) change the tests, or
> >(c) something else?
> What about $gene->exons() has the old behavior, while $gene->exons_ordered()
> uses the new behavior.  Then you can have the best of both worlds.
Done. Committing as soon as the tests pass... should be right away.

David Block
NRC Plant Biotechnology Institute
Saskatoon, SK, Canada