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']"
    )
)

tengfei/sevenbridges documentation built on March 27, 2021, 1:22 p.m.