You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nf-core list throws an InvalidGitRepositoryError:/home/mahesh/.nextflow/assets/NBISweden/pipelines-nextflow.
It's looking at the wrong folder for the nf-core assets.
$ ls /home/mahesh/.nextflow/assets/
ewels NBISweden nextflow-io nf-core
Steps to reproduce
Steps to reproduce the behaviour:
conda activate nextflow-env ( has nf-core 2.1 installed, along with nextflow, mamba, and pandoc ).
So after some Slack debugging with @mahesh-panchal we figured out that this path contains a broken repo clone somehow. Indeed, nf-core list crashes with this error if it encounters a path in the Nextflow assets folders that isn't a repo.
This basically shouldn't ever happen, as these assets directories are generated by Nextflow pulling a repo. However, it would still be nice to handle the error in a better way if it does instead of giving a huge traceback.
ewels
added a commit
to ewels/nf-core-tools
that referenced
this issue
Mar 14, 2022
Description of the bug
nf-core list
throws anInvalidGitRepositoryError:/home/mahesh/.nextflow/assets/NBISweden/pipelines-nextflow
.It's looking at the wrong folder for the nf-core assets.
Steps to reproduce
Steps to reproduce the behaviour:
conda activate nextflow-env
( has nf-core 2.1 installed, along with nextflow, mamba, and pandoc ).nf-core list
See error:
Expected behaviour
List nf-core workflows.
To only check the nf-core assets and not any others.
System
The text was updated successfully, but these errors were encountered: