Find workflow ancestors
Created: 2012-05-08 11:15:30
Last updated: 2012-07-09 10:56:06
Given a t2flow file (Taverna 2 workflow), extract ancestor workflow UUIDs and search myExperiment for matching workflow entries.
Note that this will also match the workflow itself and nested workflows, but does not match against other workflows having the same ancestors (but newer UUIDs).
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Descriptions (1)
Given a t2flow file (Taverna 2 workflow), extract ancestor workflow UUIDs and search myExperiment for matching workflow entries.
Note that this will also match the workflow itself and nested workflows, but does not match against other workflows having the same ancestors (but newer UUIDs). |
Dependencies (0)
Inputs (1)
Name |
Description |
t2flow |
A t2flow workflow
Try Set URL and http://www.myexperiment.org/workflows/16/download?version=7 (not the URI as a string).
|
Processors (4)
Name |
Type |
Description |
myExpeirment_find_workflows_with_uuid |
rest |
|
find_previous_t2flow_uuids |
xpath |
Xpath Expression/default:workflow/default:dataflow/default:annotations/default:annotation_chain_2_2/net.sf.taverna.t2.annotation.AnnotationChainImpl/annotationAssertions/net.sf.taverna.t2.annotation.AnnotationAssertionImpl/annotationBean/identification |
sparql_result_uris |
xpath |
Xpath Expression/default:sparql/default:results/default:result/default:binding/default:uri |
Flatten_List |
localworker |
Scriptflatten(inputs, outputs, depth) {
for (i = inputs.iterator(); i.hasNext();) {
element = i.next();
if (element instanceof Collection && depth > 0) {
flatten(element, outputs, depth - 1);
} else {
outputs.add(element);
}
}
}
outputlist = new ArrayList();
flatten(inputlist, outputlist, 1); |
Outputs (2)
Name |
Description |
workflows |
|
myExpeirment_find_workflows_with_uuid_actualURL |
|
Datalinks (6)
Source |
Sink |
find_previous_t2flow_uuids:nodelist |
myExpeirment_find_workflows_with_uuid:uuid |
t2flow |
find_previous_t2flow_uuids:xml_text |
myExpeirment_find_workflows_with_uuid:responseBody |
sparql_result_uris:xml_text |
sparql_result_uris:nodelist |
Flatten_List:inputlist |
Flatten_List:outputlist |
workflows |
myExpeirment_find_workflows_with_uuid:actualURL |
myExpeirment_find_workflows_with_uuid_actualURL |
Uploader
License
All versions of this Workflow are
licensed under:
Version 2 (latest)
(of 2)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment