nf-core / tools

Python package with helper tools for the nf-core community.
https://nf-co.re
MIT License
244 stars 192 forks source link

Template: remove try-catch blocks from nextflow.config #3167

Closed mirpedrol closed 2 months ago

mirpedrol commented 2 months ago

Close https://github.com/nf-core/tools/issues/3132

mirpedrol commented 2 months ago

One problem with this syntax is that the first time a user creates a pipeline, this will fail as nf-core/configs does not contain the pipeline config. It can be solved by providing a false params.custom_config_base but it's not ideal. I would consider commenting out these lines on the template again and let users decide if they want to include a pipeline specific config.