diff --git a/nf_core/modules/modules_repo.py b/nf_core/modules/modules_repo.py index 1f607b7475..b21dd0b9d0 100644 --- a/nf_core/modules/modules_repo.py +++ b/nf_core/modules/modules_repo.py @@ -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): @@ -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: diff --git a/nf_core/pipeline-template/modules.json b/nf_core/pipeline-template/modules.json index 06008b510c..53d85d4f39 100644 --- a/nf_core/pipeline-template/modules.json +++ b/nf_core/pipeline-template/modules.json @@ -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" } } diff --git a/tests/test_modules.py b/tests/test_modules.py index a16c9e6328..8fb9bab31b 100644 --- a/tests/test_modules.py +++ b/tests/test_modules.py @@ -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. #