Skip to content

Commit

Permalink
Remove even more references to 'software'
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikDanielsson committed Jul 7, 2021
1 parent 683e613 commit a8dd99d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nf_core/modules/modules_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def get_pipeline_modules(self):
"""Get list of modules installed in the current directory"""
self.module_names = []
if self.repo_type == "pipeline":
module_base_path = f"{self.dir}/modules/nf-core/software"
module_base_path = f"{self.dir}/modules/nf-core/modules"
elif self.repo_type == "modules":
module_base_path = f"{self.dir}/software"
module_base_path = f"{self.dir}/modules"
else:
log.error("Directory is neither a clone of nf-core/modules nor a pipeline")
raise SystemError
Expand Down
2 changes: 1 addition & 1 deletion nf_core/modules/modules_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_modules_file_tree(self):
self.modules_file_tree = result["tree"]
for f in result["tree"]:
if f["path"].startswith(f"modules/") and f["path"].endswith("/main.nf") and "/test/" not in f["path"]:
# remove software/ and /main.nf
# remove modules/ and /main.nf
self.modules_avail_module_names.append(f["path"].replace("modules/", "").replace("/main.nf", ""))

def get_module_file_urls(self, module, commit=""):
Expand Down

0 comments on commit a8dd99d

Please sign in to comment.