comparison macros.xml @ 0:e9981e6af666 draft

Improved some datatype handling
author galaxyp
date Thu, 20 Jun 2013 11:07:47 -0400
parents
children 0d0cbb69a03f
comparison
equal deleted inserted replaced
-1:000000000000 0:e9981e6af666
1 <macros>
2 <macro name="threshold">
3 <conditional name="threshold">
4 <param type="select" name="type" label="Specify Threshold">
5 <option value="none">None (just use deafults></option>
6 <option value="simple">With Simple Options</option>
7 <option value="advanced">With Advanced Options</option>
8 </param>
9 <when value="none">
10 </when>
11 <when value="simple">
12 <expand macro="simple_options" />
13 </when>
14 <when value="advanced">
15 <expand macro="simple_options" />
16 <param type="boolean" truevalue="" falsevalue="--ignore_charge_1" label="Use Charge +1" name="ignore_charge_1" checked="true" />
17 <param type="boolean" truevalue="" falsevalue="--ignore_charge_2" label="Use Charge +2" name="ignore_charge_2" checked="true" />
18 <param type="boolean" truevalue="" falsevalue="--ignore_charge_3" label="Use Charge +3" name="ignore_charge_3" checked="true" />
19 <param type="boolean" truevalue="" falsevalue="--ignore_charge_4" label="Use Charge +4 and Higher" name="ignore_charge_4" checked="true" />
20 <param name="minimum_ntt" label="Minimum Number of Enzymatic Termini (NTT)" type="integer" help="" value="0" />
21 <param name="minimum_peptide_length" label="Minimum Peptide Length" type="integer" help="" value="0" />
22 </when>
23 </conditional>
24 </macro>
25 <macro name="simple_options">
26 <param name="protein_probability" label="Protein Probability" type="float" help="" value="0.99" />
27 <param name="minimum_peptide_count" label="Minimum Peptide Count" type="integer" help="" value="2" />
28 <param name="peptide_probability" label="Peptide Probability" type="float" help="" value="0.95" />
29 </macro>
30 </macros>