[MOBY-l] get lineage function

Edward Kawas edward.kawas at gmail.com
Mon Feb 4 23:47:43 UTC 2008


Hi Maliha,

Can you post all of your code? Also, some datatypes in the ontology are
unrooted (I know that this is illegal, but they somehow made it in!). This
could be why you are getting the error that you are seeing.

Eddie

-----Original Message-----
From: moby-l-bounces at lists.open-bio.org
[mailto:moby-l-bounces at lists.open-bio.org] On Behalf Of maliha aziz
Sent: February-04-08 2:19 PM
To: moby-l at lists.open-bio.org
Subject: [MOBY-l] get lineage function


Hi

I am trying to use the getlineage function to retrieve the lineage of a
few data types but its giving me the following error

MobyDataType[] dt_typ=dttyp[counter].getLineage();

ERORR is as follows
Cannot parse MOBY Object Ontology: java.lang.NullPointerException

hmmmm.... i used the getlineage function for the service types and it
worked perfectly fine... 

:S

so what am i going wrong here

One more question ... the function getAllChildren()... 

MobyRelationship[] dt=dttyp[countz].getAllChildren();

does it return children of all relation types or just HAS HASA... i
know itz written tht itz only HAS HASA types are returned but just wanted
to confirm and if I want to obtain children with ISA relationships
which function shud i use???

maliha

       p.s. and yea ive configured the registry to point to the new
 address...

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
_______________________________________________
moby-l mailing list
moby-l at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/moby-l




More information about the moby-l mailing list