Skip to content

Missing connection in DAG for conditional execution #93

Open
@FriederikeHanssen

Description

@FriederikeHanssen

Hey!

I created a small example here: https://github.com/FriederikeHanssen/mre/tree/dag_conditional

Essentially, whenever there is a conditional execution the DAG is missing one connection it seems:

The DAG of this code snippet:

    if(params.echo){
        echo = TOUCH(params.echo).file
    } else {
        echo = DEFAULT().file
    }

    APPEND(echo)

renders to:

Screenshot 2025-01-13 at 12 14 16

I would expect a connection between the process TOUCH and APPEND as well.

Nextflow plugin Version: 1.0.3

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