Skip to content

Missing value declared as output parameter #4731

@prmunn

Description

@prmunn

Bug report

(Please follow this template replacing the text between parentheses with the requested information)

Expected behavior and actual behavior

Val should be returned from a function

Steps to reproduce the problem

Calling the following function:

process haplotagging_padUMI {

output:
val include_stagger, emit: include_stagger_val

script:
    """
    include_stagger="Test value"

    echo \$include_stagger
    """

}

Program output

ERROR ~ Error executing process > 'haplotagging_create_bam_files:haplotagging_padUMI (1)'

Caused by:
Missing value declared as output parameter: include_stagger

Environment

  • Nextflow version: latest version, using DSL2
  • Java version: Not sure
  • Operating system: Linux
  • Bash version: (use the command $SHELL --version): GNU bash, version 5.1.8(1)-release (x86_64-redhat-linux-gnu)

Additional context

(Add any other context about the problem here)

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