Hi! :grin: I'm still pretty new to nf-core, so ap...
# modules
l
Hi! 😁 I'm still pretty new to nf-core, so apologies if this is a basic question :) I'm using nf-core/tools v3.3.1 and trying to install the bcl2fastq module into a HPC cluster. I keep getting the error:
ERROR    Branch 'master' not found in '<https://github.com/nf-core/modules.git>'
I also tried installing the FastQC module and I get the same error. I thought recent versions of nf-core use main by default. I've already tried: β€’ Running with
--branch main
β€’ Modifying the default branch in
.nf-core.yml
β€’ Verified my conda environment has python 3.10.18, nf-core CLI works and internet access is fine Any ideas on what I might be missing? Thanks in advance!
m
No worries, there are #C043FMKUNLB. The master branch is the right one. What is the command line you're trying? @JΓΊlia Mir any ideas?
j
can you run the command with the verbose option and post the output here?
nf-core --verbose ...
party this 1
l
Sure! This is my output with the verbose option: (nfcore-env) lrenteria@xxxx:~$ nf-core --verbose modules install fastqc ,--./,-. _ _ _ __ _ /,-._.--~\ |\ | |__ _ / ` / \ |_) |__ } { | \| | \__, \__/ | \ |___ \`-._,-
Copy code
-,
.,.,' nf-core/tools version 3.3.1 - https://nf-co.re Pulling from 'nf-core/modules' (https://github.com/nf-core/modules.git) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Waiting for responseDEBUG Popen(['git', 'version'], cwd=/home/lrenteria/.config/nfcore/nf-core/modules, stdin=None, shell=False, universal_newlines=False) cmd.py:1253 DEBUG Popen(['git', 'fetch', '-v', '--progress', '--', 'origin'], cwd=/home/lrenteria/.config/nfcore/nf-core/modules, stdin=None, shell=False, cmd.py:1253 universal_newlines=True) DEBUG Popen(['git', 'checkout', 'master'], cwd=/home/lrenteria/.config/nfcore/nf-core/modules, stdin=None, shell=False, cmd.py:1253 universal_newlines=False) ERROR Branch 'master' not found in 'https://github.com/nf-core/modules.git' commands_modules.py:74 Thanks for your help!! :)
j
can you try deleting the cached cloned repo in
/home/lrenteria/.config/nfcore/nf-core/modules
and run the command again?
βœ… 1
l
That was it! I did that and now I can install the modules I want. Thank you so much!! :D
πŸ™ŒπŸ» 1