Skip to content

Commit

Permalink
Merge pull request #219 from jairsan/master
Browse files Browse the repository at this point in the history
Clarify the use of Job.set_rqmt and Job.update_rqmt
  • Loading branch information
Icemole authored Nov 22, 2024
2 parents e0505d0 + b066d4e commit 8d4e9fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sisyphus/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,8 @@ def output_var(self, filename, pickle=False, backup=None):
def set_rqmt(self, task_name, rqmt):
"""Overwrites the given requirements for this job
If this function is called more than once, only the effects of the last call are applied.
:param str task_name: Which task will be affected
:param rqmt: the new requirements
:return:
Expand All @@ -1125,6 +1127,8 @@ def set_rqmt(self, task_name, rqmt):
def update_rqmt(self, task_name, rqmt):
"""Updates the given requirements for this job, values not set in rqmt will not be affected.
If this function is called more than once, only the effects of the last call are applied.
:param str task_name: Which task will be affected
:param rqmt: the new requirements
:return:
Expand Down

0 comments on commit 8d4e9fd

Please sign in to comment.