Mercurial > repos > iuc > map_param_value
annotate map_param_value.xml @ 0:43d7b3642a30 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
author | iuc |
---|---|
date | Sun, 16 Oct 2022 08:05:37 +0000 |
parents | |
children | a01f088d0e5e |
rev | line source |
---|---|
0
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
1 <tool name="Map parameter value" id="map_param_value" version="0.1.0" tool_type="expression" profile="22.01"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
2 <macros> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
3 <xml name="when_element" tokens="type_selection"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
4 <param name="input_param" type="@TYPE_SELECTION@" optional="true" label="Map this parameter value to a different value"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
5 <repeat name="mappings" label="Add value mapping"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
6 <param name="from" type="@TYPE_SELECTION@" optional="true" label="Map from this value"></param> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
7 <param name="to" type="text" label="to this value" help="This value must be coercable to the selected output parameter type"></param> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
8 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
9 </xml> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
10 </macros> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
11 <expression type="ecma5.1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
12 <![CDATA[{ |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
13 const source = $job.input_param_type.input_param; |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
14 const mappings = $job.input_param_type.mappings; |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
15 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
16 const coerceToOutput = function(value) { |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
17 switch($job.output_param_type) { |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
18 case "integer": |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
19 return parseInt(value) |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
20 case "float": |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
21 return parseFloat(value) |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
22 case "boolean": |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
23 if (value == "false" || value == "False") { |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
24 return false |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
25 } |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
26 return !!value |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
27 case "text": |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
28 return value |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
29 } |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
30 } |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
31 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
32 for ( var i = 0; i < mappings.length; i++ ) { |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
33 if ( String(mappings[i].from) == source ) { |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
34 return { output: coerceToOutput(mappings[i].to) }; |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
35 } |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
36 } |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
37 if ( $job.unmapped.on_unmapped == "fail" ) { |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
38 return { __error_message: `text_param ${source} not found in mapping values.` }; |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
39 } else if ( $job.unmapped.on_unmapped == "default" ) { |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
40 return { output: coerceToOutput($job.unmapped.default_value) }; |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
41 } |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
42 return { output: coerceToOutput(source) }; |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
43 }]]> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
44 </expression> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
45 <inputs> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
46 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
47 <param name="type" type="select" label="Select type of input parameter to match"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
48 <option value="text" selected="true">Text</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
49 <option value="integer">Integer</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
50 <option value="float">Float</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
51 <option value="boolean">Boolean</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
52 </param> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
53 <when value="text"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
54 <expand macro="when_element" type_selection="text"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
55 </when> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
56 <when value="integer"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
57 <expand macro="when_element" type_selection="integer"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
58 </when> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
59 <when value="float"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
60 <expand macro="when_element" type_selection="float"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
61 </when> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
62 <when value="boolean"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
63 <expand macro="when_element" type_selection="boolean"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
64 </when> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
65 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
66 <param name="output_param_type" type="select" label="Select type of parameter to output"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
67 <option value="text">Text</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
68 <option value="integer">Integer</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
69 <option value="float">Float</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
70 <option value="boolean">Boolean</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
71 </param> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
72 <conditional name="unmapped"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
73 <param name="on_unmapped" type="select" label="Select how"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
74 <option value="input">Use unmodified input parameter value if input parameter value not found in mappings</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
75 <option value="fail">Fail if input parameter value not found in mappings</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
76 <option value="default">Provide a default value to use if input parameter value not found in mappings</option> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
77 </param> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
78 <when value="input" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
79 <when value="fail" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
80 <when value="default"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
81 <param name="default_value" type="text" label="Use this value if the input parameter value was not found in mappings"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
82 </when> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
83 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
84 </inputs> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
85 <outputs> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
86 <output type="text" name="output_param_text" from="output"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
87 <filter>output_param_type == 'text'</filter> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
88 </output> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
89 <output type="integer" name="output_param_integer" from="output"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
90 <filter>output_param_type == 'integer'</filter> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
91 </output> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
92 <output type="float" name="output_param_float" from="output"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
93 <filter>output_param_type == 'float'</filter> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
94 </output> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
95 <output type="boolean" name="output_param_boolean" from="output"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
96 <filter>output_param_type == 'boolean'</filter> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
97 </output> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
98 </outputs> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
99 <tests> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
100 <test expect_num_outputs="1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
101 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
102 <param name="type" value="text"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
103 <param name="input_param" value="A" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
104 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
105 <param name="from" value="A" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
106 <param name="to" value="B" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
107 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
108 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
109 <output name="output_param_text" value_json=""B"" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
110 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
111 <test expect_num_outputs="1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
112 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
113 <param name="input_param" value="C" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
114 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
115 <param name="from" value="A" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
116 <param name="to" value="B" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
117 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
118 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
119 <output name="output_param_text" value_json=""C"" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
120 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
121 <test expect_num_outputs="1" expect_failure="true"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
122 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
123 <param name="input_param" value="C" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
124 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
125 <param name="from" value="A" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
126 <param name="to" value="B" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
127 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
128 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
129 <conditional name="unmapped"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
130 <param name="on_unmapped" value="fail"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
131 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
132 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
133 <test expect_num_outputs="1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
134 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
135 <param name="input_param" value="C" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
136 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
137 <param name="from" value="A" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
138 <param name="to" value="B" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
139 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
140 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
141 <conditional name="unmapped"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
142 <param name="on_unmapped" value="default"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
143 <param name="default_value" value="D"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
144 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
145 <param name="output_param_text" value_json=""D"" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
146 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
147 <test expect_num_outputs="1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
148 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
149 <param name="input_param" value="C" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
150 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
151 <param name="from" value="A" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
152 <param name="to" value="B" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
153 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
154 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
155 <conditional name="unmapped"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
156 <param name="on_unmapped" value="default"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
157 <param name="default_value" value="X"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
158 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
159 <param name="output_param_text" value_json=""X"" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
160 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
161 <test expect_num_outputs="1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
162 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
163 <param name="input_param" value="C" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
164 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
165 <param name="from" value="A" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
166 <param name="to" value="B" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
167 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
168 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
169 <param name="from" value="C" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
170 <param name="to" value="D" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
171 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
172 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
173 <param name="output_param_text" value_json=""D"" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
174 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
175 <test expect_num_outputs="1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
176 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
177 <param name="type" value="integer" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
178 <param name="input_param" value="42" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
179 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
180 <param name="from" value="42" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
181 <param name="to" value="true" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
182 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
183 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
184 <param name="output_param_type" value="boolean"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
185 <param name="output_param_boolean" value_json="true" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
186 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
187 <test expect_num_outputs="1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
188 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
189 <param name="type" value="float" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
190 <param name="input_param" value="1.2" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
191 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
192 <param name="from" value="42" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
193 <param name="to" value="true" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
194 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
195 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
196 <conditional name="unmapped"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
197 <param name="on_unmapped" value="default"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
198 <param name="default_value" value="False"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
199 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
200 <param name="output_param_type" value="boolean"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
201 <param name="output_param_boolean" value_json="false" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
202 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
203 <test expect_num_outputs="1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
204 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
205 <param name="type" value="integer" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
206 <param name="input_param" value="1" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
207 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
208 <param name="from" value="1" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
209 <param name="to" value="1.1" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
210 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
211 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
212 <param name="output_param_type" value="float"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
213 <param name="output_param_float" value_json="1.1" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
214 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
215 <test expect_num_outputs="1"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
216 <conditional name="input_param_type"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
217 <param name="type" value="string" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
218 <param name="input_param" value="A" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
219 <repeat name="mappings"> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
220 <param name="from" value="A" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
221 <param name="to" value="2" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
222 </repeat> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
223 </conditional> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
224 <param name="output_param_type" value="integer"/> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
225 <param name="output_param_float" value_json="2" /> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
226 </test> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
227 </tests> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
228 <help><![CDATA[ |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
229 **What it does** |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
230 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
231 Maps a parameter value to another value. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
232 This can be used to transform any non-data value (text, integer, float and boolean) to a different value of a different type. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
233 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
234 **Settings** |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
235 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
236 If the value is not found in the mapping the unmodified value is returned by default. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
237 Select ``Fail if input parameter value not found in mappings`` if you wish the job to fail if an input could not be mapped. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
238 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
239 Select ``Provide a default value to use if input parameter value not found in mappings`` to provide a default value to use in case the input parameter value could not be mapped. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
240 Select the proper input and output parameter types based on your workflow input and output connections. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
241 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
242 **Examples** |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
243 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
244 You want a user to select from 3 simple options in a workflow, e.g. ``low``, ``medium``, ``high``, which correspond to distinct integer values. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
245 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
246 Turn ``Map this parameter value to a different value`` into a a connectable workflow input by clicking on "Add connection to module". |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
247 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
248 Set the input parameter type to ``Text``, and add 3 mappings: |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
249 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
250 .. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
251 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
252 #. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
253 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
254 * Map from this value: ``low`` |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
255 * to this value: ``1`` |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
256 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
257 #. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
258 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
259 * Map from this value: ``medium`` |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
260 * to this value: ``2`` |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
261 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
262 #. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
263 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
264 * Map from this value: ``high`` |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
265 * to this value: ``3`` |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
266 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
267 Set ``Select type of parameter to output`` to ``Integer``. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
268 You can now connect the output to any connectable Integer input in your workflow. |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
269 |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
270 ]]></help> |
43d7b3642a30
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 9cbf1d6cb6a59b8b4172d09449aac695ba10687d
iuc
parents:
diff
changeset
|
271 </tool> |