def _prom2ivc_src_item_iter(prom_dict):
    '\n    Yield items from prom_dict with promoted input names converted to ivc source names.\n\n    The result is that all names are absolute.\n\n    Parameters\n    ----------\n    prom_dict : dict\n        Original dict with some promoted paths.\n\n    Yields\n    ------\n    tuple\n        name, metadata\n    '
    for (name, meta) in prom_dict.items():
        if (meta['ivc_source'] is not None):
            (yield (meta['ivc_source'], meta))
        else:
            (yield (name, meta))
Yield items from prom_dict with promoted input names converted to ivc source names.

The result is that all names are absolute.

Parameters
----------
prom_dict : dict
    Original dict with some promoted paths.

Yields
------
tuple
    name, metadata
def _prom2ivc_src_item_iter(prom_dict):
    '\n    Yield items from prom_dict with promoted input names converted to ivc source names.\n\n    The result is that all names are absolute.\n\n    Parameters\n    ----------\n    prom_dict : dict\n        Original dict with some promoted paths.\n\n    Yields\n    ------\n    tuple\n        name, metadata\n    '
    for (name, meta) in prom_dict.items():
        if (meta['ivc_source'] is not None):
            (yield (meta['ivc_source'], meta))
        else:
            (yield (name, meta))