Skip to content

Workflow output should be optional when referencing the output of a conditional step #146

@jdidion

Description

@jdidion

In https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/tests/conditionals/cond-wf-002.cwl and https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/tests/conditionals/cond-wf-002_nojs.cwl, the workflow output parameter out1 references step1/out1. step1 has a when, which means its outputs will be null when the condition is false. Thus, the workflow output parameter should be optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions