Skip to content

Commit

Permalink
correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangs18 committed Jan 31, 2024
1 parent 779ae79 commit c92fe2f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/loaders/common/callback_server_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ def __init__(
token_filepath (str): The file path that stores a KBase token appropriate for the KBase environment.
If not supplied, the token must be provided in the environment variable KB_AUTH_TOKEN.
The KB_ADMIN_AUTH_TOKEN environment variable will get set by this token if the user runs as catalog admin.
au_service_ver (str): The service verison of AssemblyUtilClient
au_service_ver (str): The service version of AssemblyUtilClient
('dev', 'beta', 'release', or a git commit).
workers (int): The number of workers to use for multiprocessing.
max_callback_server_tasks (int): The maxmium subtasks for the callback server.
max_callback_server_tasks (int): The maximum number of subtasks for the callback server.
worker_function (Callable): The function that will be called by the workers.
retrieve_sample (bool): Whether to retrieve sample for each genome object.
ignore_no_sample_error (bool): Whether to ignore the error when no sample data is found.
Expand Down Expand Up @@ -135,7 +135,7 @@ def _setup_callback_server_envs(
kb_base_url (str): The base url of the KBase services.
token (str): The KBase token.
port (int): The port number for the callback server.
max_callback_server_tasks (int): The maxmium subtasks for the callback server.
max_callback_server_tasks (int): The maximum number of subtasks for the callback server.
ipv4 (str): The ipv4 address for the callback server.
catalog_admin (bool): Whether to run the callback server as catalog admin.
Expand Down Expand Up @@ -190,7 +190,7 @@ def _start_callback_server(
job_dir (str): The directory for SDK jobs per user.
kb_base_url (str): The base url of the KBase services.
token (str): The KBase token.
max_callback_server_tasks (int): The maxmium subtasks for the callback server.
max_callback_server_tasks (int): The maximum number of subtasks for the callback server.
port (int): The port number for the callback server.
ipv4 (str): The ipv4 address for the callback server.
catalog_admin (bool): Whether to run the callback server as catalog admin.
Expand Down
4 changes: 2 additions & 2 deletions src/loaders/workspace_downloader/workspace_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
A file path that stores a KBase token appropriate for the KBase environment
If not provided, the token must be provided in the `KB_AUTH_TOKEN` environment variable
--cbs_max_tasks CBS_MAX_TASKS
The maxmium subtasks for the callback server (default: 20)
The maximum number of subtasks for the callback server (default: 20)
--au_service_ver AU_SERVICE_VER
The service version of AssemblyUtil client('dev', 'beta', 'release', or a git commit) (default: release)
--keep_job_dir Keep SDK job directory after download task is completed
Expand Down Expand Up @@ -396,7 +396,7 @@ def main():
"--cbs_max_tasks",
type=int,
default=20,
help="The maxmium subtasks for the callback server",
help="The maximum number of subtasks for the callback server",
)
optional.add_argument(

Check warning on line 401 in src/loaders/workspace_downloader/workspace_downloader.py

View check run for this annotation

Codecov / codecov/patch

src/loaders/workspace_downloader/workspace_downloader.py#L401

Added line #L401 was not covered by tests
"--au_service_ver",
Expand Down
4 changes: 2 additions & 2 deletions src/loaders/workspace_uploader/workspace_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
--batch_size BATCH_SIZE
Number of files to upload per batch (default: 2500)
--cbs_max_tasks CBS_MAX_TASKS
The maxmium subtasks for the callback server (default: 20)
The maximum number of subtasks for the callback server (default: 20)
--au_service_ver AU_SERVICE_VER
The service version of AssemblyUtil client('dev', 'beta', 'release', or a git commit) (default: release)
--keep_job_dir Keep SDK job directory after upload task is completed
Expand Down Expand Up @@ -176,7 +176,7 @@ def _get_parser():
"--cbs_max_tasks",
type=int,
default=20,
help="The maxmium subtasks for the callback server",
help="The maximum number of subtasks for the callback server",
)
optional.add_argument(

Check warning on line 181 in src/loaders/workspace_uploader/workspace_uploader.py

View check run for this annotation

Codecov / codecov/patch

src/loaders/workspace_uploader/workspace_uploader.py#L181

Added line #L181 was not covered by tests
"--au_service_ver",
Expand Down

0 comments on commit c92fe2f

Please sign in to comment.