Skip to content

Commit

Permalink
Fix some typos in the quickstart guide
Browse files Browse the repository at this point in the history
  • Loading branch information
mxk62 committed Sep 23, 2021
1 parent b36d33d commit c42ff46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/lsst.ctrl.bps/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ Supported settings
retried with a new memory limit equal to the product of the
``memoryMultiplier`` and the memory usage from the previous attempt.

The process will continue until number of retires reaches its limit
The process will continue until number of retries reaches its limit
determined by ``numberOfRetries`` (5 by default) *or* the resultant memory
limit exceeds the memory available on a given computational resource (e.g.
a HTCondor pool).
Expand All @@ -465,7 +465,7 @@ Supported settings
The memory threshold, in MB, to control the memory scaling.

Jobs whose memory requirements exceed this threshold will be removed from
the job queue even if maximal number of retires (defined by
the job queue even if maximal number of retries (defined by
``numberOfRetries``) has not been reached yet.

If not set, BPS will try to determine it automatically by querying
Expand All @@ -486,7 +486,7 @@ Supported settings
will need (e.g., 1).

**preemptible**, optional
A flag indicating whether a job can be safely preempted. Defaults to True
A flag indicating whether a job can be safely preempted. Defaults to true
which means that unless indicated otherwise any job in the workflow can be
safely preempted.

Expand Down
3 changes: 2 additions & 1 deletion python/lsst/ctrl/bps/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,8 @@ def _handle_job_values(attributes, quantum_job_values, gwjob):
----------
attributes: `dict` [`str`, Iterable [`str`]]
Job attributes grouped by category. Supported categories are:
* ``universal``: job attributes that need to be the same in the cluster,
* ``universal``: job attributes that need to be the same
in the cluster,
* ``max``: job attributes that need to be set to their maximal values
in the cluster,
* ``sum``: job attributes that need to be sum of their values
Expand Down

0 comments on commit c42ff46

Please sign in to comment.