Skip to content

Fix bug in generated Groovy code #6082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bentsherman
Copy link
Member

This PR fixes a bug when running a script with the v2 parser:

workflow INIT {
    take:
    validate_params

    main:
    def ch_samples = Channel.empty()
    // do stuff

    emit:
    samples = ch_samples
}

workflow {
    INIT(true)
}
$ NXF_SYNTAX_PARSER=v2 nextflow run main.nf

 N E X T F L O W   ~  version 25.04.2

Missing workflow output parameter: samples

@bentsherman bentsherman requested a review from pditommaso May 15, 2025 12:14
@bentsherman bentsherman requested a review from a team as a code owner May 15, 2025 12:14
Copy link

netlify bot commented May 15, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit b827a09
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/6825daa713b40c00084ebf7b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant