[Bioperl-l] RootI detachment proposal.
Heikki Lehvaslaiho
heikki@ebi.ac.uk
Sat, 13 Jan 2001 16:56:10 +0000
Jason Stajich wrote:
>
> On Fri, 12 Jan 2001, Ewan Birney wrote:
>
> >
> >
> > [Ewan recovers from rereading the Bio::Root:: stuff...]
> >
> > This is *mainly* for Jason and Hilmar, but in case there are other
> > people who want to chip in:
> >
> >
> > I want to completely detach RootI from the other Root::Objects (in
> > particular Err). This means a heavy refactoring of RootI - mainly in
> > removing the code.
> >
> > I will keep ->throw and ->warn but not ->verbose as a real method. (jason
> > - do you mind this?) (I will have a "deprecation warning" on verbose)
>
> well, actually verbose makes me happy because we can choose whether or not
> warn will actually print out msgs. Can it just be a get/set method and
> warn can check to see if verbose > 0 before printing? I like to use it as
> a debugging flag as well so we can have object specific debugging flags.
I'd like to use verbose function but RootI documention is a bit hard
to read at the moment. I have not followed too closely the discussion
about RootI object but once this restructuring is done, it would be
great to have a few clear examples what RootI can do and what are the
options.
For example, I was pleasently surprised that I could ignore the
contructor method for a simple class which inherits from
Bio::Root:RootI. I was not sure if it worked before trying.
-Heikki
--
______ _/ _/_____________________________________________________
_/ _/ http://www.ebi.ac.uk/mutations/
_/ _/ _/ Heikki Lehvaslaiho heikki@ebi.ac.uk
_/_/_/_/_/ EMBL Outstation, European Bioinformatics Institute
_/ _/ _/ Wellcome Trust Genome Campus, Hinxton
_/ _/ _/ Cambs. CB10 1SD, United Kingdom
_/ Phone: +44 (0)1223 494 644 FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________