convertMetadataToHistory#

lsst.ts.wep.utils.convertMetadataToHistory(metadata)#

Convert the history from the metadata back to original format.

Parameters:

metadata (pipeBase.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:

The history dictionary or converted value

Return type:

Any