history#

osa.report.history(run: str, prod_id: str, stage: str, return_code: int, history_file: Path, input_file=None, config_file=None) None#

Appends a history line to the history file. A history line reports the outcome of the execution of a lstchain executable.

Parameters:
runstr

Run/sequence analyzed.

prod_idstr

Prod ID of the run analyzed.

stagestr

Stage of the analysis pipeline.

return_codeint

Return code of the lstchain executable.

history_filepathlib.Path

The history file that keeps track of the analysis steps.

input_filestr, optional

If needed, input file used for the lstchain executable

config_filestr, optional

Input card used for the lstchain executable.