On Wed, Sep 1, 2010 at 13:30, Andreas Truszkowski <[email protected]> wrote: > The first thing is, is there anywhere a documentation about the granular > depth stuff? Furthermore I have no idea how to create an input port of > granular depth 0. For me it is only possible to declare the general port > depth.
I'm sorry, it turns out I was wrong. It is only for *output* ports you can specify granular depth. So I'm afraid you will have to decide to receive it as depth 0 or depth 1. But you cannot return an empty hashmap for iterations you 'skip' - as the nested workflow would never finish, it has only received a value for position 15 on output ports Reactant_1 (and Reactant_2), but is waiting for the previous 14. You *could* return a dummy value in stead, but it sounds a bit strange. If the process is not doing anything CPU/memory intensive it should be fine to do it as depth 1. >From what I can see from your code excerpts, the Data_Collector is just doing a list flattening, alternatively a set union, can it not do this if it gets the whole list at depth 1? If you are doing list flattening, there's already a local worker for that under 'Available services'. -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ 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/
