record_step_status

jwst.stpipe.record_step_status(datamodel, cal_step, success=True)[source]

Record whether or not a step completed in meta.cal_step.

Parameters:
datamodelJwstDataModel, ModelContainer, ModelLibrary

This is the datamodel or container of datamodels to modify in place

cal_stepstr

The attribute in meta.cal_step for recording the status of the step

successbool

If True, then ‘COMPLETE’ is recorded. If False, then ‘SKIPPED’