Skip to content

Commit

Permalink
Merge pull request #2885 from emi80/dev
Browse files Browse the repository at this point in the history
Rename nf-test template files
  • Loading branch information
emi80 authored Mar 20, 2024
2 parents 8633f85 + 8a5c964 commit 0109d09
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nf_core/components/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def _get_component_dirs(self):
if self.component_type == "modules":
file_paths["environment.yml"] = component_dir / "environment.yml"
file_paths["tests/tags.yml"] = component_dir / "tests" / "tags.yml"
file_paths["tests/main.nf.test"] = component_dir / "tests" / "main.nf.test"
file_paths["tests/main.nf.test.j2"] = component_dir / "tests" / "main.nf.test"

return file_paths

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion nf_core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def safe_get(self, url):
else:
return r
elif request.status_code in self.return_unauthorised:
raise RuntimeError(f"GitHub API PR failed, probably due to an expired GITHUB_TOKEN.")
raise RuntimeError("GitHub API PR failed, probably due to an expired GITHUB_TOKEN.")

return request

Expand Down

0 comments on commit 0109d09

Please sign in to comment.