convertMetadataToHistory

lsst.ts.wep.utils.convertMetadataToHistory(metadata: TaskMetadata) dict

Convert the history from the metadata back to original format.

Parameters

metadatapipeBase.TaskMetadata

The metadata containing the history. Note this is meant to be only the nested Metadata that represents the algorithm history and nothing else.

Returns

dict

The history dictionary