nf-core pipelines sync overwrites newly generated .nf-core.yml
content
#3391
Labels
bug
Something isn't working
.nf-core.yml
content
#3391
Description of the bug
When we first create a pipeline we add a
lint
section to.nf-core.yml
with all the correct checks ignored for the chosen skipped template sections.When we do a
sync
this method runs and if you have updated the skipped sections (added or removed any) thenfix_linting
is called again and the updatedlint
section is written to the.nf-core.yml
file in theTEMPLATE
branch.However at the end of the
sync
call we then update the.nf-core.yml
based on theCreateConfig
object inpipeline_create_obj.config
. source codeThis overwrites the already written updated whole config with the config from before the new template update and just updates the
template
subsection of it with the new config for that.I believe the solution here is to replace the linked source above like so:
Current:
New:
Command used and terminal output
System information
nf-core/tools v3.1.1
The text was updated successfully, but these errors were encountered: