Skip to content

tsv empty column error #626

@scarlhoff

Description

@scarlhoff

Hello!

Forgetting to put NA (or anything) in the BAM column of the tsv file currently results in this unspecific error:

Cannot invoke method matches() on null object -- Check script '/projects1/clusterhomes/carlhoff/.nextflow/assets/nf-core/eager/main.nf' at line: 3424 or see '.nextflow.log' file for more details

row 3424 contains: def bam = row.BAM.matches('NA') ? 'NA' : return_file(row.BAM)

Would be great if the error could be more specific, since it looks more scary than it is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestpendingAddressed on branch waiting for related PR

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions