Skip to content

Stub run (and regular run) crashes on PEDDY #566

@Jakob37

Description

@Jakob37

Description of the bug

The crash:

ERROR ~ Cannot invoke method collectEntries() on null object

 -- Check script './workflows/../subworkflows/nf-core/utils_nfcore_pipeline/main.nf' at line: 110 or see '.nextflow.log' file for more details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

 -- Check '.nextflow.log' file for details
-[nf-core/raredisease] Pipeline completed with errors-

Back-tracing it I found that the versions file is invalid for the stub run in the modules/nf-core/peddy/main.nf process.

Here is how it looks now:

    stub:
    def prefix = task.ext.prefix ?: "${meta.id}"
    """
    touch ${prefix}.ped_check.csv
    touch ${prefix}.vs.html
    touch ${prefix}.het_check.csv
    touch ${prefix}.sex_check.csv
    touch ${prefix}.peddy.ped
    touch ${prefix}.html

    touch versions.yml
    """

Edit: Looks like this will need to be fixed in the nf-core module.

Command used and terminal output

No response

Relevant files

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions