Merge list of errors to string

Created: 2011-09-13 14:04:50      Last updated: 2011-09-13 14:16:05

<meta />Based on http://myexperiment.elda.org/workflows/27/ (but myExperiment does not allow multi-myExperiment citations)

Also see http://taverna-users.markmail.org/search/?q=#query:+page:1+mid:cnfl53jbczhpf66b+state:results

<meta />

This example shows how to 

 

<meta />Summary:

1) Make a temporary file
2) Receive the list item by item - write line to file
3) Any failed items will simply fail writing (so errors are stripped)
4) Read/use file in next step of workflow

Now you won't be able to insert placeholders with this solution, but
it should work.

This a modified version. This uses the file-encoding "utf-8"
and so should work well also with international characters. It also
returns the value as a File reference, which mean that this merge
should consume less memory than Merge_string_list_to_a_String.

Note that I was not able to use this as a nested workflow shim, as the
processor for the nested workflow has the "error bounce" layer,
preventing executions of the nested workflow when there are errors in
the incoming list. Manually editing the .t2flow to disable this error
handling for the nested workflow unfortunately brought out an error in
provenance capture that meant that the nested workflow would "never
finish".

Note that Taverna does not make any guarantees as to the execution
order when iterating over a list. It depends on the pipelining from
the upstream source if these will occur out of order or not. In this
example, the Write_text_file_append was however called in order.

So if anyone else wants to use this clever workaround, use "Merge
workflow" and manually delete the local workers before connecting to
the real service.

 

 

Information Preview

Information Run

Run this Workflow in the Taverna Workbench...

Option 1:

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


Information Workflow Components

Information Authors (1)
Information Titles (2)
Information Descriptions (2)
Information Dependencies (0)
Inputs (0)
Processors (7)
Beanshells (2)
Outputs (3)
Datalinks (9)
Coordinations (1)

Information Workflow Type

Taverna 2

Information License

All versions of this Workflow are licensed under:

Information Version 1 (earliest) (of 2)

View version:

Information Credits (0)

(People/Groups)

None

Information Attributions (0)

(Workflows/Files)

None

Information Tags (5)

Log in to add Tags

Information Shared with Groups (1)

Information Featured In Packs (0)

None

Log in to add to one of your Packs

Information Attributed By (0)

(Workflows/Files)

None

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 (0)

No comments yet

Log in to make a comment




Workflow Other workflows that use similar services (0)

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