ddict2dict

lsst.cp.pipe.utils.ddict2dict(d)

Convert nested default dictionaries to regular dictionaries.

This is needed to prevent yaml persistence issues.

Parameters:
ddefaultdict

A possibly nested set of defaultdict.

Returns:
dictdict

A possibly nested set of dict.