[Bioperl-l] Re: coding custom Gene object

Gene Cutler cutler@tularik.com
Thu, 23 Aug 2001 15:18:34 -0700


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

-=-=-=-=-=-=-=-=-=-=-=-=-=-
Gene Cutler
Bioinformatics Scientist
cutler@tularik.com
- - - - - - - - - - - - -
Tularik Inc
2 Corporate Drive
South San Francisco, CA 94080, USA
http://www.tularik.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-