Hi, I am still learning to use nf-core, but I am t...
# modules
v
Hi, I am still learning to use nf-core, but I am trying to add a new module. I wanted to make a commit in my local repo, but pre-commit gives me an error for "Sort dependencies in conda environment files", the python script is not in my local repo nor the nf-core/modules repo on github. How is that possible or am I doing something wrong?
Copy code
Sort dependencies in conda environment files...............................................Failed
- hook id: conda-env-sorter
- exit code: 1

Executable `./.github/scripts/conda_env_sorter.py` not found
j
I think the decision by @Edmund and @mashehu in https://github.com/nf-core/modules/pull/7747#pullrequestreview-2830322900 was that this script doesn't belong here. I think they forgot to remove the
conda-env-sorter
hook from
.pre-commit-config.yaml
though!
We just ran into this same problem.
m
@Edmund can you quickly fix this?
a
I have submitted a PR fixing this https://github.com/nf-core/modules/pull/8746
❤️ 1
e
Awesome, approved!
party parrot 1