On 07/02/2011 16:15, Andreas Truszkowski wrote:
> Am 07.02.2011 16:00, schrieb Alan R Williams:
>>> > I have got it working if I insert the following code but that does not
>>> > help to understand why it behaves that way.
>>> > if (identified instanceof IdentifiedList<?>) {
>>> > identified = (ReferenceSet) ((IdentifiedList<?>) identified).get(0);
>>> > }
>> At that point, can you check the depth of that input port ?
>>
> I have shown it in the picture I attached. Unfortunately its depth 1.
That's the depth of the data on the port. I'd like to check the
declared depth of the port itself. For example can you iterate over the
ports of the activity
for (ActivityInputPort aip : this.getInputPorts()) {
logger.info(aip.getName() + " has depth " + aip.getDepth());
}
and see what is output.
> Cheers,
> Andreas
Alan
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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/