Mercurial > repos > iuc > compose_text_param
comparison compose_text_param.xml @ 1:f7fd3b5e81bf draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/compose_text_param commit a55575026fb23416a2023feb95f4a12259301da6"
| author | iuc |
|---|---|
| date | Tue, 21 Jul 2020 07:27:57 +0000 |
| parents | e95f78847343 |
| children |
comparison
equal
deleted
inserted
replaced
| 0:e95f78847343 | 1:f7fd3b5e81bf |
|---|---|
| 1 <tool name="Compose text parameter value" id="compose_text_param" version="0.1.0" profile="19.05" tool_type="expression"> | 1 <tool name="Compose text parameter value" id="compose_text_param" version="0.1.1" profile="19.05" tool_type="expression"> |
| 2 <description>from parameters</description> | 2 <description>from parameters</description> |
| 3 <expression type="ecma5.1"> | 3 <expression type="ecma5.1"> |
| 4 { | 4 { |
| 5 let s = ""; | 5 let s = ""; |
| 6 for (const repeat of $job.components) { | 6 for (const repeat of $job.components) { |
| 16 <option value="text">Text Parameter</option> | 16 <option value="text">Text Parameter</option> |
| 17 <option value="integer">Integer Parameter</option> | 17 <option value="integer">Integer Parameter</option> |
| 18 <option value="float">Float Parameter</option> | 18 <option value="float">Float Parameter</option> |
| 19 </param> | 19 </param> |
| 20 <when value="text"> | 20 <when value="text"> |
| 21 <param name="component_value" type="text" label="Enter text that should be part of the computed value"/> | 21 <param name="component_value" type="text" label="Enter text that should be part of the computed value"> |
| 22 <sanitizer sanitize="false"/> | |
| 23 </param> | |
| 22 </when> | 24 </when> |
| 23 <when value="integer"> | 25 <when value="integer"> |
| 24 <param name="component_value" value="" type="integer" label="Enter integer that should be part of the computed value"/> | 26 <param name="component_value" value="" type="integer" label="Enter integer that should be part of the computed value"/> |
| 25 </when> | 27 </when> |
| 26 <when value="float"> | 28 <when value="float"> |
| 69 <param name="select_param_type" value="float"/> | 71 <param name="select_param_type" value="float"/> |
| 70 <param name="component_value" value="1.5"/> | 72 <param name="component_value" value="1.5"/> |
| 71 </conditional> | 73 </conditional> |
| 72 </repeat> | 74 </repeat> |
| 73 <output name="output"> | 75 <output name="output"> |
| 74 <assert_contents> | 76 <assert_contents> |
| 75 <!-- <has_line line="'"Text: value, Integer: 1, Float: 1.5"'"/> --> | 77 <!-- <has_line line="'"Text: value, Integer: 1, Float: 1.5"'"/> --> |
| 76 <has_line line=""Text: value, Integer: 1, Float: 1.5""/> | 78 <has_line line=""Text: value, Integer: 1, Float: 1.5""/> |
| 79 </assert_contents> | |
| 80 </output> | |
| 81 </test> | |
| 82 <test> | |
| 83 <repeat name="components"> | |
| 84 <conditional name="param_type"> | |
| 85 <param name="select_param_type" value="text"/> | |
| 86 <param name="component_value" value="Text: "/> | |
| 87 </conditional> | |
| 88 </repeat> | |
| 89 <repeat name="components"> | |
| 90 <conditional name="param_type"> | |
| 91 <param name="select_param_type" value="text"/> | |
| 92 <param name="component_value" value="value with; > & and !"/> | |
| 93 </conditional> | |
| 94 </repeat> | |
| 95 <output name="output"> | |
| 96 <assert_contents> | |
| 97 <!-- <has_line line="'"Text: value, Integer: 1, Float: 1.5"'"/> --> | |
| 98 <has_line line=""Text: value with; > & and !""/> | |
| 77 </assert_contents> | 99 </assert_contents> |
| 78 </output> | 100 </output> |
| 79 </test> | 101 </test> |
| 80 </tests> | 102 </tests> |
| 81 <help><