CloneItemsInList

Created: 2007-11-29 15:34:52

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]]

Information Preview

Information Run

Run this Workflow in the Taverna Workbench...

Option 1:

Copy and paste this link into File > 'Open workflow location...'
https://www.myexperiment.org/workflows/106/download?version=1
[ More InfoExpand ]


Information Workflow Components

Inputs (2)
Processors (1)
Beanshells (1)
Outputs (1)
Links (3)
Coordinations (0)

Information Workflow Type

Taverna 1

Information Uploader

Information License

All versions of this Workflow are licensed under:

Information Version 1 (of 1)

Information Credits (1)

(People/Groups)

Information Attributions (0)

(Workflows/Files)

None

Information Tags (5)

Log in to add Tags

Information Shared with Groups (0)

None

Information Featured In Packs (0)

None

Log in to add to one of your Packs

Information Attributed By (1)

(Workflows/Files)

Information Favourited By (0)

No one

Information Statistics

 

Citations (0)

None


Version History

In chronological order:



Reviews Reviews (0)

No reviews yet

Be the first to review!



Comments Comments (1)

Log in to make a comment

  • Wednesday 20 May 2009 12:21:50 (UTC)

    If loaded into Taverna 2, then the depth of the output port of the beanshell needs to be set to 1.

     




Workflow Other workflows that use similar services (0)

There are no workflows in myExperiment that use similar services to this Workflow.