Mercurial > repos > iuc > compose_text_param
changeset 1:e188c9826e0f 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 03:28:16 -0400 |
parents | feb3acba1e0a |
children | |
files | compose_text_param.xml |
diffstat | 1 files changed, 25 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/compose_text_param.xml Fri Jun 07 09:22:41 2019 -0400 +++ b/compose_text_param.xml Tue Jul 21 03:28:16 2020 -0400 @@ -1,4 +1,4 @@ -<tool name="Compose text parameter value" id="compose_text_param" version="0.1.0" profile="19.05" tool_type="expression"> +<tool name="Compose text parameter value" id="compose_text_param" version="0.1.1" profile="19.05" tool_type="expression"> <description>from parameters</description> <expression type="ecma5.1"> { @@ -18,7 +18,9 @@ <option value="float">Float Parameter</option> </param> <when value="text"> - <param name="component_value" type="text" label="Enter text that should be part of the computed value"/> + <param name="component_value" type="text" label="Enter text that should be part of the computed value"> + <sanitizer sanitize="false"/> + </param> </when> <when value="integer"> <param name="component_value" value="" type="integer" label="Enter integer that should be part of the computed value"/> @@ -71,12 +73,32 @@ </conditional> </repeat> <output name="output"> - <assert_contents> + <assert_contents> <!-- <has_line line="'"Text: value, Integer: 1, Float: 1.5"'"/> --> <has_line line=""Text: value, Integer: 1, Float: 1.5""/> </assert_contents> </output> </test> + <test> + <repeat name="components"> + <conditional name="param_type"> + <param name="select_param_type" value="text"/> + <param name="component_value" value="Text: "/> + </conditional> + </repeat> + <repeat name="components"> + <conditional name="param_type"> + <param name="select_param_type" value="text"/> + <param name="component_value" value="value with; > & and !"/> + </conditional> + </repeat> + <output name="output"> + <assert_contents> + <!-- <has_line line="'"Text: value, Integer: 1, Float: 1.5"'"/> --> + <has_line line=""Text: value with; > & and !""/> + </assert_contents> + </output> + </test> </tests> <help><![CDATA[ This tool concatenates each parameter value to a string.