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
This method appears to be designed to work with both pipeline and module repos, however it is only ever called in the codebase by the ModuleVersionBumper.bump_versions and only ever in the context of a modules dir.
There are a couple of issues with this method.
It can never work for non nf-core org repos, because of hardcoding of nf-core.
It's logic for finding main.nf files assumes there can never be anything other than <tool>/<subtool>
This second point is the actual bug in this instance, because cellranger has a Dockerfile (and also .gitignore and README.md at the <tool> subdir level.
(It's unclear whether this violation of the <tool>/<subtool> expectation causes other issues in the nf-core/tools code)
A possible fix is to use a method for finding modules and their main.nf more akin to that used in the SyncedRepo.get_avail_components:
Description of the bug
nf-core modules bump-versions odgi
fails with an irrevelant NotADirectoryError in cellranger.Command used and terminal output
System information
The text was updated successfully, but these errors were encountered: