[MOBY-dev] findService... how to ?

Edward Kawas edward.kawas at gmail.com
Fri Jul 6 14:39:45 UTC 2007


Hi Andreas,

I am not sure of the problem, but when you look at the debugger, the inputs
and outputs are not being set up properly and so I think that is why the
results are as you are seeing them.

Perhaps Paul or Martin can comment.

Eddie

> -----Original Message-----
> From: moby-dev-bounces at lists.open-bio.org [mailto:moby-dev-
> bounces at lists.open-bio.org] On Behalf Of Andreas Groscurth
> Sent: Friday, July 06, 2007 6:47 AM
> To: Core developer announcements
> Subject: [MOBY-dev] findService... how to ?
> 
> Hi,
> 
> i keep the list busy ;-)
> 
> its just... I dont quite understand the findservice method....
> 
> as far as I understood it - with the following I get all services which
> has an
> image as output and an AGI Locuscode as input
> 
> MobyDataObject object = new MobyDataObject( "" );
> object.setPrimaryNamespace( new MobyNamespace( "AGI_LocusCode" ) );
> service.addInput( object );
> MobyDataObject dataObject = new MobyDataObject( "SimpleAnnotatedJPEGImage"
> );
> MobyDataObjectSet set = new MobyDataObjectSet( "" );
> set.add( dataObject );
> service.addOutput( set );
> 
> MobyService[] services = central.findService( service, null, false, false
> );
> 
> this is an extract of what I get back
> 
> Service getTairRefsByAgi
> Service getGOAccsByAGICode
> Service genefarmGetGeneIDByAGI
> Service PhytoprotGetByAGICode
> Service getReporterImageByAGI_dev
> Service getPMCIDsByAGI
> 
> why getPMCIDsByAGI ? why getGOAccsByAGICode ? and so on
> both das not have any SimpleAnnotatedJPEGImage anywhere written....
> 
> Thanks
> Andreas
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev




More information about the MOBY-dev mailing list