cta-observatory/lstosa

Prod_id wrongly reported by check point method

Opened this issue · 0 comments

def _write_checkpoint(self):
"""Write the checkpoint in the history file."""
history(
run=self.run,
prod_id=options.prod_id,
stage=self.command,
return_code=self.rc,
history_file=self.history_file,
config_file=self.config_file,
)

prod_id should indicate the corresponding prod ID of each data level (e.g., dl1_prod_id), not always the general options.prod_id