[Bioperl-l] New package: Bio::Constants/Bio::Root::Constants?
Stefan A Kirov
skirov at utk.edu
Thu May 13 14:08:44 EDT 2004
On Thu, 13 May 2004, Jason Stajich wrote:
>I like the idea for the Gap character?
I wonder what other constants might fit in here.... It will be nice if
everyone could contribute suggestions here.
>I am not sure I would want to have to put the program version numbers in
>there as that really should be delegated to the parser module I would
>think, but the idea about defining some constants would make sense.
>Being able to to say $memparser->can_parser('3.0.5') seems clearer to me
>as anytime we need more 1 copy of information it gets out of sync (we can
>barely get people to keep the dependancies listed in the Makefile.PL and
>the INSTALL document up to date when they are added to a module).
I see the problem... Yes, this may be better if we try to implement
it your way, so some packages wiil know what they can parse and
some will not (then the developer is to blame)...
I guess one way to do it is add a method to Bio::Root::Root which will
search through an array , let's say @Bio::someparser::supported. If this
array is empty, then clearly the developer did not take care of this.
>jason at cgt.mc.duke.edu
>Bioperl-l mailing list
>Bioperl-l at portal.open-bio.org
More information about the Bioperl-l