Skip to content

Commit

Permalink
change nf-core/modules branch to master
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Oct 4, 2022
1 parent 9ddc614 commit 683568a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions nf_core/modules/modules_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Constants for the nf-core/modules repo used throughout the module files
NF_CORE_MODULES_NAME = "nf-core"
NF_CORE_MODULES_REMOTE = "https://github.com/nf-core/modules.git"
NF_CORE_MODULES_DEFAULT_BRANCH = "restructure"
NF_CORE_MODULES_DEFAULT_BRANCH = "master"


class RemoteProgressbar(git.RemoteProgress):
Expand Down Expand Up @@ -223,7 +223,7 @@ def setup_branch(self, branch):
if branch is None:
# Don't bother fetching default branch if we're using nf-core
if self.remote_url == NF_CORE_MODULES_REMOTE:
self.branch = "restructure"
self.branch = "master"
else:
self.branch = self.get_default_branch()
else:
Expand Down
6 changes: 3 additions & 3 deletions nf_core/pipeline-template/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"modules": {
"nf-core": {
"custom/dumpsoftwareversions": {
"branch": "restructure",
"branch": "master",
"git_sha": "86e32684ce5b13ca8173a78cd2250131ca9b1c0f"
},
"fastqc": {
"branch": "restructure",
"branch": "master",
"git_sha": "86e32684ce5b13ca8173a78cd2250131ca9b1c0f"
},
"multiqc": {
"branch": "restructure",
"branch": "master",
"git_sha": "86e32684ce5b13ca8173a78cd2250131ca9b1c0f"
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_modulesrepo_class(self):
"""Initialise a modules repo object"""
modrepo = nf_core.modules.ModulesRepo()
assert modrepo.repo_path == "nf-core"
assert modrepo.branch == "restructure"
assert modrepo.branch == "master"

############################################
# Test of the individual modules commands. #
Expand Down

0 comments on commit 683568a

Please sign in to comment.