Thanks to visit codestin.com
Credit goes to github.com

Skip to content

conditional step with pickValue method in inputs crashes when condition does not apply #945

@hariszaf

Description

@hariszaf

To build a wf that could be partially used, I am trying to have
some conditions and provide alternative input files
for the case a user has already or hasn't done a step.

In some cases however, the user might not be interested in that step at all.

Such an example is implemented here.

As you see in line 250 an extra choice
has been provided and that is because if it does not, the wf crashes in case where
inputs.funct_annot != true and I get an error mentioning that all sources are of null value.

I guess the condition should be evaluated first, before going into the check of the input arguments of the step.

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