CloneItemsInList
Utility workflow that clones an item copy_number times. You can use this to work around standard iteration strategies, e.g. in combination with the CountListItems workflow.
Workflow examples: TestIterationStrategy_withClones. For an alternative approach see TestIterationStrategy_withNesting.
Example I/O:
input: A copy_number: 3 result: [A,A,A]
input: [A,B,C] copy_number: 3 result: [[A,A,A][B,B,B][C,C,C]]
input: [A,B,C] copy_number: [3,2] result: [[[A,A,A],[A,A]][[B,B,B],[B,B]],[[C,C,C],[C,C]]]
input: [A,B,C] copy_number: [3,2,1] iteration strategy: dot product result: [[A,A,A],[B,B],[C]]
Preview
Run
Run this Workflow in the Taverna Workbench...
Option 1:
Copy and paste this link into File > 'Open workflow location...'
http://myexperiment.org/workflows/106/download?version=1
[ More Info ]
Workflow Components
Reviews (0)
Other workflows that use similar services (0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (1)
Log in to make a comment
If loaded into Taverna 2, then the depth of the output port of the beanshell needs to be set to 1.