# HG changeset patch # User iuc # Date 1666179439 0 # Node ID a01f088d0e5e480f9bd75bb9363110312f753a9a # Parent 43d7b3642a30a6a8925e063c23b20008863454af planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 49eab9a9d601cccd50401e5a0221264b5681b64d diff -r 43d7b3642a30 -r a01f088d0e5e map_param_value.xml --- a/map_param_value.xml Sun Oct 16 08:05:37 2022 +0000 +++ b/map_param_value.xml Wed Oct 19 11:37:19 2022 +0000 @@ -1,10 +1,16 @@ - + - + + + - - + + + + + + @@ -30,12 +36,12 @@ } for ( var i = 0; i < mappings.length; i++ ) { - if ( String(mappings[i].from) == source ) { + if ( String(mappings[i].from) == String(source) ) { return { output: coerceToOutput(mappings[i].to) }; } } if ( $job.unmapped.on_unmapped == "fail" ) { - return { __error_message: `text_param ${source} not found in mapping values.` }; + return { __error_message: `input_param ${source} not found in mapping values.` }; } else if ( $job.unmapped.on_unmapped == "default" ) { return { output: coerceToOutput($job.unmapped.default_value) }; } @@ -63,14 +69,8 @@ - - - - - - - + @@ -81,6 +81,12 @@ + + + + + + @@ -98,6 +104,7 @@ + @@ -109,6 +116,19 @@ + + + + + + + + + + + + + @@ -118,7 +138,8 @@ - + + @@ -131,8 +152,8 @@ + - @@ -140,11 +161,12 @@ - + - + + @@ -156,9 +178,10 @@ - + + @@ -170,9 +193,10 @@ - + + @@ -182,9 +206,10 @@ - + + @@ -198,9 +223,10 @@ - + + @@ -210,11 +236,12 @@ - + + - + @@ -222,8 +249,101 @@ - + + + A + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +