Fix job schedule submission regression
- Finer-grained autogen task id cache clear check did not work properly with unmatched tasks when added as part of a batch in a job schedule - Resolves #329
This commit is contained in:
Родитель
d8b13d3f2a
Коммит
f93bbd14bc
|
@ -4219,6 +4219,7 @@ def _generate_next_generic_task_id(
|
|||
tasknum = sorted(
|
||||
[int(x.id.split(delimiter)[-1]) for x in tasklist])[-1] + 1
|
||||
except (batchmodels.BatchErrorException, IndexError, TypeError):
|
||||
tasklist = []
|
||||
tasknum = 0
|
||||
if reserved is not None:
|
||||
tasknum_reserved = int(reserved.split(delimiter)[-1])
|
||||
|
|
Загрузка…
Ссылка в новой задаче