Skip to content

Commit 2b99d7e

Browse files
authored
Warning not error if resub job has no dependencies because all complete
1 parent d39ff18 commit 2b99d7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

py/desispec/workflow/processing.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,9 @@ def recursive_submit_failed(rown, proc_table, submits, id_to_row_map, max_resubs
13931393
if len(qdeps) > 0:
13941394
proc_table['LATEST_DEP_QID'][rown] = qdeps
13951395
else:
1396-
log.error(f"number of qdeps should be 1 or more: Rown {rown}, ideps {ideps}")
1396+
log.warning(f"Number of internal dependencies was {len(ideps)} but number "
1397+
+ f"of queue deps is {len(qdeps)} for Rown {rown}, ideps {ideps}."
1398+
+ " This is expected if the ideps were status=COMPLETED")
13971399

13981400
proc_table[rown] = submit_batch_script(proc_table[rown], reservation=reservation,
13991401
strictly_successful=True, dry_run=dry_run_level)

0 commit comments

Comments
 (0)