On 07/02/2011 15:03, Andreas Truszkowski wrote:
> Am 07.02.2011 13:33, schrieb Alan R Williams:
>> The data for a port of depth greater than zero will come as an
>> IdentifiedList. The elements of that list can be resolved to a
>> ReferenceSet or an IdentifiedList.
> But also the data fora zero depth port will come as an IdentifiedArrayList.

It shouldn't.

> Here is my the port implementation:
> List<Class<? extends ExternalReferenceSPI>> expectedReferences = new
> ArrayList<Class<? extends ExternalReferenceSPI>>();
> expectedReferences.add(FileReference.class);
> addInput(this.INPUT_PORTS[0], 0, false, expectedReferences, null);
>
> And see the attached picture for the debugging information.

Can you check what Taverna thinks the depth of the port is by looking at 
the contents of the inputPorts Set within the activity ?  Is it possible 
that you have several ports with the same name ?

> Cheers,
> Andreas

Alan

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to