Skip to content

Commit

Permalink
Fix typos (third round)
Browse files Browse the repository at this point in the history
  • Loading branch information
mribeirodantas committed Oct 19, 2024
1 parent 5fea053 commit 08c43f5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion nf_core/modules/lint/main_nf.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def check_process_section(self, lines, registry, fix_version, progress_bar):
url = None
line = raw_line.strip(" \n'\"}:")

# Catch preceeding "container "
# Catch preceding "container "
if line.startswith("container"):
line = line.replace("container", "").strip(" \n'\"}:")

Expand Down
2 changes: 1 addition & 1 deletion nf_core/pipelines/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def launch_web_gui(self):
raise AssertionError('"api_url" not in web_response')
if "web_url" not in web_response:
raise AssertionError('"web_url" not in web_response')
# DO NOT FIX THIS TYPO. Needs to stay in sync with the website. Maintaining for backwards compatability.
# DO NOT FIX THIS TYPO. Needs to stay in sync with the website. Maintaining for backwards compatibility.
if web_response["status"] != "recieved":
raise AssertionError(
f'web_response["status"] should be "recieved", but it is "{web_response["status"]}"'
Expand Down
4 changes: 2 additions & 2 deletions nf_core/pipelines/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self):
self.defs_notation = None
self.ignored_params = []

# Update the validation plugin code everytime the schema gets changed
# Update the validation plugin code every time the schema gets changed
def set_schema_filename(self, schema: str) -> None:
self._schema_filename = schema
self._update_validation_plugin_from_config()
Expand Down Expand Up @@ -969,7 +969,7 @@ def launch_web_builder(self):
raise AssertionError('"api_url" not in web_response')
if "web_url" not in web_response:
raise AssertionError('"web_url" not in web_response')
# DO NOT FIX THIS TYPO. Needs to stay in sync with the website. Maintaining for backwards compatability.
# DO NOT FIX THIS TYPO. Needs to stay in sync with the website. Maintaining for backwards compatibility.
if web_response["status"] != "recieved":
raise AssertionError(
f'web_response["status"] should be "recieved", but it is "{web_response["status"]}"'
Expand Down
4 changes: 2 additions & 2 deletions nf_core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,11 +607,11 @@ def request_retry(self, url, post_data=None):
while True:
# GET request
if post_data is None:
log.debug(f"Seding GET request to {url}")
log.debug(f"Sending GET request to {url}")
r = self.get(url=url)
# POST request
else:
log.debug(f"Seding POST request to {url}")
log.debug(f"Sending POST request to {url}")
r = self.post(url=url, json=post_data)

# Failed but expected - try again
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 08c43f5

Please sign in to comment.