select_matching_layers
Created: 2013-12-24 11:08:22
Last updated: 2015-05-11 22:28:37
Displays an interface where users can select matching layers (same variables) based on the labels of previously selected layers. This is typically needed when projecting a model into a different scenario, where the same variables selected for model creation need to be used on a different chronologic or geographic context. The interaction page may optionally include a label field.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
![header=[] body=[This is the author information extracted from the workflow version] cssheader=[boxoverTooltipHeader] cssbody=[boxoverTooltipBody] delay=[200] Information](/images/famfamfam_silk/information.png?1680607579)
Authors (1)
![header=[] body=[These are the descriptive titles embedded within the workflow version] cssheader=[boxoverTooltipHeader] cssbody=[boxoverTooltipBody] delay=[200] Information](/images/famfamfam_silk/information.png?1680607579)
Titles (1)
Select matching layers based on labels of previously selected layers. |
![header=[] body=[These are the descriptions embedded within the workflow version] cssheader=[boxoverTooltipHeader] cssbody=[boxoverTooltipBody] delay=[200] Information](/images/famfamfam_silk/information.png?1680607579)
Descriptions (1)
This workflow allows users to select matching layers based on the labels of previously selected layers. The interaction also includes a label field. |
![header=[] body=[These are the listed dependencies of the workflow] cssheader=[boxoverTooltipHeader] cssbody=[boxoverTooltipBody] delay=[200] Information](/images/famfamfam_silk/information.png?1680607579)
Dependencies (0)
Inputs (8)
Name |
Description |
om_layers_xml |
Available layers in the openModeller web service (XML).
|
selected_layers_ids |
Layer ids previously selected (separated by new line).
|
selected_layers_labels |
Layer labels previously selected (separated by new line).
|
default_label |
Default projection label.
|
loop_list |
Any list whose size indicates the current iteration - in case this workflow is used inside a loop allowing multiple model projections. For instance, a list with 3 elements indicates we are in the third projection. This is just used to append a numeric suffix to the default projection label.
|
biostif_layers_xml_list |
Layers available in BioSTIF (list of XML).
|
interface_caption |
Main caption to be displayed on the interaction page.
|
display_label_field |
Indicates if the interaction page should display or not a label field ("yes" or "no").
|
Processors (4)
Name |
Type |
Description |
Interaction |
interaction |
|
Merge_String_List_to_a_String_1 |
localworker |
ScriptString seperatorString = "\n";
if (seperator != void) {
seperatorString = seperator;
}
StringBuffer sb = new StringBuffer();
for (Iterator i = stringlist.iterator(); i.hasNext();) {
String item = (String) i.next();
sb.append(item);
if (i.hasNext()) {
sb.append(seperatorString);
}
}
concatenated = sb.toString();
|
Merge_String_List_to_a_String_2 |
localworker |
ScriptString seperatorString = "\n";
if (seperator != void) {
seperatorString = seperator;
}
StringBuffer sb = new StringBuffer();
for (Iterator i = stringlist.iterator(); i.hasNext();) {
String item = (String) i.next();
sb.append(item);
if (i.hasNext()) {
sb.append(seperatorString);
}
}
concatenated = sb.toString();
|
format_string |
beanshell |
Scriptoutput = input.replace(' ', '_').toLowerCase(); |
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
format_string |
|
input
|
output
|
Outputs (3)
Name |
Description |
selected_layers_ids |
Layer ids to be used in model projection (separated by new line).
|
selected_layers_labels |
Layer labels to be used in model projection (separated by new line).
|
projection_label |
Final projection label.
|
Datalinks (14)
Source |
Sink |
selected_layers_labels |
Interaction:labels |
selected_layers_ids |
Interaction:ids |
format_string:output |
Interaction:default_label |
loop_list |
Interaction:list |
om_layers_xml |
Interaction:om_layers_xml |
biostif_layers_xml_list |
Interaction:biostif_layers_xml_list |
interface_caption |
Interaction:caption |
display_label_field |
Interaction:display_label_field |
Interaction:selected_layers_ids |
Merge_String_List_to_a_String_1:stringlist |
Interaction:selected_layers_labels |
Merge_String_List_to_a_String_2:stringlist |
default_label |
format_string:input |
Merge_String_List_to_a_String_1:concatenated |
selected_layers_ids |
Merge_String_List_to_a_String_2:concatenated |
selected_layers_labels |
Interaction:label |
projection_label |
Uploader
Component Validity

Loading
License
All versions of this Workflow are
licensed under:
Version 5 (latest)
(of 5)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (1)
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.
No comments yet
Log in to make a comment