Skip to content

Commit

Permalink
fix pernight redshift intid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
akremin committed Aug 23, 2024
1 parent 592e2e8 commit b404734
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/desispec/workflow/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,8 @@ def submit_redshifts(ptable, prows, tnight, internal_id, queue, reservation,
else: # pernight
expids = [prow['EXPID'][0] for prow in zprows]
log.info(f"Expids: {expids}.\n")
redshift_prow, internal_id = make_redshift_prow(zprows, tnight, descriptor=zsubtype, internal_id=internal_id)
redshift_prow = make_redshift_prow(zprows, tnight, descriptor=zsubtype, internal_id=internal_id)
internal_id += 1
redshift_prow = create_and_submit(redshift_prow, queue=queue, reservation=reservation, joint=True, dry_run=dry_run,
strictly_successful=strictly_successful, check_for_outputs=check_for_outputs,
resubmit_partial_complete=resubmit_partial_complete, system_name=system_name)
Expand Down

0 comments on commit b404734

Please sign in to comment.