convertHistoryToMetadata

lsst.ts.wep.utils.convertHistoryToMetadata(history: dict) TaskMetadata

Convert algorithm history to be saved in task metadata.

Parameters:
historydict

The nested dictionary representing the algorithm history.

Returns:
lsst.pipe.base.TaskMetadata

The reformatted history in a TaskMetadata object