Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak authored Jun 15, 2023
1 parent e13483c commit b05f11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/toil/lib/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def toil_job(job):
not always able to abort ongoing reads and writes in order
to respect the timeout. Defaults to 1 year (i.e. wait
essentially indefinitely).
:param accelerators: Toil accelerator numbers (ususally GPUs) to forward to
:param accelerators: Toil accelerator numbers (usually GPUs) to forward to
the container. These are interpreted in the current
Python process's environment. See
toil.lib.accelerators.get_individual_local_accelerators()
Expand Down Expand Up @@ -256,7 +256,7 @@ def toil_job(job):
if our_number >= len(accelerator_mapping):
raise RuntimeError(
f"Cannot forward accelerator {our_number} because only "
f"{len(accelerator_mapping)} accelerators are avaialble "
f"{len(accelerator_mapping)} accelerators are available "
f"to this job."
)
host_accelerators.append(accelerator_mapping[our_number])
Expand Down

0 comments on commit b05f11b

Please sign in to comment.