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

sbg/sevenbridges-r documentation built on March 26, 2021, 3:33 p.m.