Hello to everybody I'm developing my own tool that need to switch the numbers of output files according to a parameter selected by the user from a list in the <inputs> tag. How can I do such thing?
Here is the XML code: <inputs> <param name="input_dataset" label="Input dataset" type="data" format="showelab-dataset,fbk-svm-dataset"/> <conditional name="format_condition"> <param name="format_options" label="Choose the type of dataset you want to split" type="select"> <option value="fbk">".fbk-svm-dataset" Format</option> <option value="showelab" selected="True">".showelab-dataset" Format</option> </param> <when value="fbk"> <param name="input_fbk_dataset_labels" label="Input dataset labels" type="data" format="fbk-labels"/> </when> </conditional> </inputs> <outputs> <data format="showelab-dataset" name="trainingDataset" label="Training Dataset extracted from ${input_dataset.name}"> <filter>format_options == "showelab"</filter> </data> <data format="showelab-dataset" name="validationDataset" label="Validation Dataset extracted from ${input_dataset.name}"> <filter>format_options == "showelab"</filter> </data> <data format="fbk-svm-dataset" name="trainingDataset" label="Training Dataset extracted from ${input_dataset.name}"> <filter>format_options == "fbk"</filter> </data> <data format="fbk-labels" name="trainingLabels" label="Training Dataset Labels extracted from ${input_fbk_dataset_labels.name}"> <filter>format_options == "fbk"</filter> </data> <data format="fbk-svm-dataset" name="validationDataset" label="Validation Dataset extracted from ${input_dataset.name}"> <filter>format_options == "fbk"</filter> </data> <data format="fbk-labels" name="validationLabels" label="Validation Dataset Labels extracted from ${input_fbk_dataset_labels.name}"> <filter>format_options == "fbk"</filter> </data> </outputs> Basically I would like to have in the Workflow Canvas that the outputs displayed in the interface will change according to the format_options select parameter. Thanks in advance. -- Calogero Zarbo FBK - Fondazione Bruno Kessler Center for Information Technology Mpba - Predictive Models for Biomedicine & Environment Via Sommarive, 18- 38123 Povo (Trento) IT e-mail: za...@fbk.eu <https://webmail.fbk.eu/owa/redir.aspx?C=648442797b254191ab144726f9a535e7&URL=mailto%3Adefilippi%40fbk.eu> phone: +39 0461 314 674
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/ To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/