Hi Alan,

Thank you for your fast reply.
To change the way Reaction_Enumerator matches the elements of incoming
lists, click on Reaction_Enumerator and then the Details tab of the
bottom left window.  You will see List Handling as one of the
possibilities there.  Click the plus sign against List handling and you
will almost certainly see that it is set to do Cross product.  Press the
Configure button.  In the pop up window, select the node that says Cross
product.  At the top right (sometimes not completely visible) there is a
button that says "Change to Dot Product".  Click that button and you
should see the node change to say "Dot product".  Click OK.

If I change it to the dot product I get an error. Have a look at the picture.

Andreas



Am 04.10.2010 13:56, schrieb Alan R Williams:
On 04/10/2010 12:34, Andreas Truszkowski wrote:
Hello together,
Hello,

I have a problem with the data handling on the output ports of my nested
workflow. It seems that every outgoing data is multiplied with each
other (You can see it at the attached pictures. 2 (iterations) ^ 3
(ports) = 8).
Is there any possibility to prevent that behaviour?
Yes.  It looks as if you are doing a cross product on the inputs of
Reaction_Enumerator.  i.e. each of the two leaves of Reactant_2 is
matched with each of the two leaves of Reactant_1 and with each of the
two leaves of Reaction.  That gives 2 * 2 * 2 i.e. 8 combinations.

You probably want to change to using a dot product.  Then the first leaf
of Reactant_2 is matched with the first leaf of Reactant_1 and the first
leaf of Reaction, and also all the second leaves are matched.  That will
give just 2 combinations.

To change the way Reaction_Enumerator matches the elements of incoming
lists, click on Reaction_Enumerator and then the Details tab of the
bottom left window.  You will see List Handling as one of the
possibilities there.  Click the plus sign against List handling and you
will almost certainly see that it is set to do Cross product.  Press the
Configure button.  In the pop up window, select the node that says Cross
product.  At the top right (sometimes not completely visible) there is a
button that says "Change to Dot Product".  Click that button and you
should see the node change to say "Dot product".  Click OK.

When you now run your workflow you should only get 2 iterations of
Reaction_Enumerator.

Cheers,
Andreas
Alan

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
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/


<<attachment: error.JPG>>

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
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