nf-core sync
will modify the template incorrectly if the pipeline prefix is uppercase
#2981
Labels
bug
Something isn't working
Description of the bug
nf-core sync
seems to parse the workflow name incorrectly (?) if the prefix is uppercase, causing problems updating the template.Steps to reproduce
nf-core create
, and provide an uppercase prefix when promptedUPPER/pipeline
pipeline.nf
.nf-core sync
from the main branch (or dev)Result
In the
TEMPLATE
branch, most instances of the workflow name "pipeline" have been renamed to "upper-pipeline". e.g.pipeline.nf
is renamed toupper-pipeline.nf
.This doesn't happen when a lowercase prefix is provided instead, i.e. a pipeline called
upper/pipeline
will not reproduce this.Command used and terminal output
# no commands actually fail
System information
Extra edit
I had created a pipeline with upper case prefix, and broke it by syncing as described.
There are only two changes I needed to commit to fix it:
.nf-core.yml
nextflow.config
(under manifest).The next
nf-core sync
then works as expected.The text was updated successfully, but these errors were encountered: