# HG changeset patch # User iuc # Date 1666179413 0 # Node ID e8d7ccfa372fad05dc9579241a4d2a3c3987e8b7 # Parent 8d4a765f5bcb2c45154c7cbfb269398ad802cee2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/map_param_value commit 49eab9a9d601cccd50401e5a0221264b5681b64d diff -r 8d4a765f5bcb -r e8d7ccfa372f map_param_value.xml --- a/map_param_value.xml Sun Oct 16 08:04:54 2022 +0000 +++ b/map_param_value.xml Wed Oct 19 11:36:53 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +