diff --git a/test/api/test_workflows.py b/test/api/test_workflows.py index 8f913bdc2dc..4f357742b4f 100644 --- a/test/api/test_workflows.py +++ b/test/api/test_workflows.py @@ -2126,7 +2126,7 @@ steps: - label: consume_expression_parameter tool_id: validation_default in: - input1: param_out#string_param + input1: param_out#text_param outputs: out_file1: rename: "replaced_param_collection" diff --git a/tools/expression_tools/parse_values_from_file.xml b/tools/expression_tools/parse_values_from_file.xml index 12f52d72451..8013a1fc6d9 100644 --- a/tools/expression_tools/parse_values_from_file.xml +++ b/tools/expression_tools/parse_values_from_file.xml @@ -2,7 +2,7 @@ from dataset { var output; -if ($job.remove_newlines || $job.param_type != 'string') { +if ($job.remove_newlines || $job.param_type != 'text') { $job.input1.contents = $job.input1.contents.trim(); } if ($job.param_type == 'integer') { @@ -29,7 +29,7 @@ return {'output': output}; - + @@ -37,8 +37,8 @@ return {'output': output}; - - param_type == 'string' + + param_type == 'text' param_type == 'integer' @@ -53,9 +53,9 @@ return {'output': output}; - + - + @@ -63,9 +63,9 @@ return {'output': output}; - + - + @@ -75,7 +75,7 @@ return {'output': output}; - + @@ -85,7 +85,7 @@ return {'output': output}; - + @@ -95,7 +95,7 @@ return {'output': output}; - +