Execute an expression as a process step.

Fields

expression

(Expression) The expression to execute. The expression must return a JSON object which matches the output parameters of the ExpressionTool.

Examples

ExpressionTool( expression = Expression( engine = "cwl:JsonPointer", script = "$job.inputs['threads']" ) )
#> id: '#' #> inputs: [] #> outputs: [] #> requirements: [] #> hints: [] #> class: ExpressionTool #> expression: #> engine: cwl:JsonPointer #> script: $job.inputs['threads'] #> class: Expression #>