Skip to content

Commit 216e14f

Browse files
authored
Merge branch 'dev' into task/2791-comparison-of-default-values
2 parents 288dd64 + 0109d09 commit 216e14f

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

nf_core/components/create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def _get_component_dirs(self):
394394
if self.component_type == "modules":
395395
file_paths["environment.yml"] = component_dir / "environment.yml"
396396
file_paths["tests/tags.yml"] = component_dir / "tests" / "tags.yml"
397-
file_paths["tests/main.nf.test"] = component_dir / "tests" / "main.nf.test"
397+
file_paths["tests/main.nf.test.j2"] = component_dir / "tests" / "main.nf.test"
398398

399399
return file_paths
400400

File renamed without changes.
File renamed without changes.

nf_core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def safe_get(self, url):
548548
else:
549549
return r
550550
elif request.status_code in self.return_unauthorised:
551-
raise RuntimeError(f"GitHub API PR failed, probably due to an expired GITHUB_TOKEN.")
551+
raise RuntimeError("GitHub API PR failed, probably due to an expired GITHUB_TOKEN.")
552552

553553
return request
554554

0 commit comments

Comments
 (0)