ExpressionTool-class: ExpressionTool Class

Description Fields Examples

Description

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

1
2
3
4
5
6
7
ExpressionTool(
  expression =
    Expression(
      engine = "cwl:JsonPointer",
      script = "$job.inputs['threads']"
    )
)

sevenbridges documentation built on March 25, 2021, 6 p.m.