tools icon indicating copy to clipboard operation
tools copied to clipboard

Creating a pipeline from a template allows for dashes

Open Midnighter opened this issue 1 year ago • 0 comments

Description of the bug

When calling nf-core create from a template, the name field may contain, for example, dashes which are not accepted when populating the fields interactively. This will generate a broken pipeline due to Groovy class names with hyphens. So the input from the template should be better validated. Incidentally, the example in the documentation also contains a hyphen which seems a terrible idea.

Command used and terminal output

nf-core create --template-yaml template.yml

System information

nf-core/tools version 2.5.1

Midnighter avatar Sep 03 '22 15:09 Midnighter