nf-core / tools

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

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

Open mirpedrol opened 4 days ago

mirpedrol commented 4 days ago

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

mirpedrol commented 1 day 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.