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
If a module is installed from a branch other than the default branch, commands that rely on the modules.json for version information will fail since they only look for the sha in the default branch of the repository.
Fixing this should be rather easy, just record the branch name along with the git sha in the module entry. So a new modules.jsoncould look like
$ nf-core modules -b <br> install mod
$ nf-core modules list local┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓┃ Module Name ┃ Repository ┃ Version SHA ┃ Message ┃ Date ┃┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩│ mod │ repo │ sha │ Not Available │ Not ││ │ │ │ │ Available │└───────────────┴───────────────┴───────────────┴───────────────┴──────────────┘
System information
nf-core/tools 2.5dev
The text was updated successfully, but these errors were encountered:
Description of the bug
If a module is installed from a branch other than the default branch, commands that rely on the
modules.json
for version information will fail since they only look for the sha in the default branch of the repository.Fixing this should be rather easy, just record the branch name along with the git sha in the module entry. So a new
modules.json
could look likeCommand used and terminal output
System information
nf-core/tools 2.5dev
The text was updated successfully, but these errors were encountered: