Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conditional include are not expected to work  #201

@pditommaso

Description

@pditommaso

Don't think this pattern is a good idea, if it works it's a bug!

viralrecon/main.nf

Lines 55 to 72 in a85d596

if (params.public_data_ids) {
include { SRA_DOWNLOAD } from './workflows/sra_download'
SRA_DOWNLOAD ()
//
// WORKFLOW: Variant and de novo assembly analysis for Illumina data
//
} else if (params.platform == 'illumina') {
include { ILLUMINA } from './workflows/illumina'
ILLUMINA ()
//
// WORKFLOW: Variant analysis for Nanopore data
//
} else if (params.platform == 'nanopore') {
include { NANOPORE } from './workflows/nanopore'
NANOPORE ()
}

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