Skip to content

Commit

Permalink
Update jwst/stpipe/utilities.py
Browse files Browse the repository at this point in the history
Co-authored-by: Melanie Clarke <[email protected]>
  • Loading branch information
emolter and melanieclarke authored Jun 28, 2024
1 parent 4f603fb commit 0b45913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jwst/stpipe/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ def record_step_status(datamodel, cal_step, success=True):
If True, then 'COMPLETE' is recorded. If False, then 'SKIPPED'
"""
if success:
status = 'COMPLETE'
status = COMPLETE
else:
status = 'SKIPPED'
status = SKIPPED

if isinstance(datamodel, Sequence):
for model in datamodel:
Expand Down

0 comments on commit 0b45913

Please sign in to comment.