Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a pipeline from a template allows for dashes #1806

Closed
Midnighter opened this issue Sep 3, 2022 · 0 comments
Closed

Creating a pipeline from a template allows for dashes #1806

Midnighter opened this issue Sep 3, 2022 · 0 comments
Labels
bug Something isn't working template nf-core pipeline/component template

Comments

@Midnighter
Copy link
Contributor

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 Midnighter added the bug Something isn't working label Sep 3, 2022
@mirpedrol mirpedrol mentioned this issue Sep 8, 2022
4 tasks
@ewels ewels added the template nf-core pipeline/component template label Jun 27, 2023
@ewels ewels closed this as completed Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working template nf-core pipeline/component template
Projects
None yet
Development

No branches or pull requests

2 participants