...
This commit is contained in:
parent
303d0f2dfe
commit
02564de48b
@ -139,10 +139,10 @@ class Slate():
|
||||
|
||||
def _reps_for_job(self, schedC, job_id):
|
||||
schedulerC = copy.deepcopy(schedC)
|
||||
num_jobs = self._calc_num_jobs(schedulerC)
|
||||
reps = self.consume(schedulerC, 'repetitions', 1)
|
||||
if job_id == None:
|
||||
return list(range(0, reps))
|
||||
num_jobs = self._calc_num_jobs(schedulerC)
|
||||
reps_for_job = [[]] * num_jobs
|
||||
for i in range(reps):
|
||||
reps_for_job[i % num_jobs].append(i)
|
||||
|
Loading…
Reference in New Issue
Block a user