[Bioperl-l] Bio::Ontology -- category() and version()

Chris Zmasek czmasek@gnf.org
Wed, 25 Sep 2002 13:49:25 -0700


Hi!

category() and version() where added to TermI and Term.

category's argument is either a TermI or a string (which is used internally to construct a Term, in case of Term.pm). 

-- CZ



> > From: Chris Mungall <cjm@fruitfly.org>
> > Date: Sun Sep 22, 2002  12:51:06 PM US/Pacific
> > To: Hilmar Lapp <hlapp@gnf.org>
> > Cc: <bioperl-l@bioperl.org>, Christian Zmasek <czmasek@gnf.org>, 
> > Peter Dimitrov <dimitrov@gnf.org>
> > Subject: Re: [Bioperl-l] Bio::Ontology
> >

...

> >> 8) timestamp(). ChrisM, is this crucial to a Term, or does it only
> >> pertain to those who created the ontology? Is it rather a 
> version()?
> >
> > it's not crucial - version would be fine
> >
> >> 9) category(). Isn't this in fact a relationship of the 
> Term? Should
> >> there or should there not be an each_relationship() method on Term?
> >
> > this can be viewed as another relationship, between the term, and 
> > the top
> > level/generic terms in the ontology
> >
> > regarding making each_relationship() a method of Term - do 
> you have an
> > implementation that doesn't introduce cyclical perl references?
> >