Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jun 10, 2024
1 parent ea3585c commit d565371
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions law/workflow/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,9 @@ def _maximum_resources(cls, resources, n_parallel):
# cap by the maximum number of parallel jobs, but in a way such that maximizes the sum of
# all possible resources that could be claimed at any given point in time
# (for evenly distributed resources across jobs, this would not be necessary)
if not resources:
return {}

if isinstance(resources, dict):
resources = list(resources.values())

Expand Down

0 comments on commit d565371

Please sign in to comment.