convertHistoryToMetadata# lsst.ts.wep.utils.convertHistoryToMetadata(history)# Convert algorithm history to be saved in task metadata. Parameters: history (dict) – The nested dictionary representing the algorithm history. Returns: The reformatted history in a TaskMetadata object Return type: lsst.pipe.base.TaskMetadata