Closed mahesh-panchal closed 3 months ago
This looks suspiciously like the bug fixed in https://github.com/nf-core/tools/pull/2863. But that fix should be in 2.14.1
🤔
Wow. I am a 🤡. I fixed the issue but for some reason reverted the actual fix from the previous MR at the same time and never noticed. One day I will add tests when I fix this function which stops all this foot-gunning.
Luckily it seems Julia already fixed this in dev with #3003
Verified it's been fixed in dev.
Description of the bug
When using
nf-core modules install <tool>
in a fresh workflow with only a main.nf and empty nextflow.config, nf-core tools tries to make the.nf-core.yml
, but ends up trying to write to/.nf-core.yml
instead resulting in an error. This is also true for when trying to make themodules
folder ( it tries/modules
and fails ).Making the file and folder manually let's it succeed though.
Command used and terminal output
System information
Repo: https://github.com/mahesh-panchal/Nextflow_sandbox