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

Skip to content

Disalow dashes (-) in custom pipeline names #2366

@matthdsm

Description

@matthdsm

Description of the bug

The inclusion of a dash in a custom pipeline name causes all kinds of syntax errors in the generated files because Groovy/Nextflow can't parse words with dashes as variable names.

So we need to either disallow dashes or parse the name and replace them by underscores during template generation/sync

Command used and terminal output

nf-core create --name 'something-with-a-dash'

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