

def update_local_meta(local_meta, iteration):
    '\n    Updates the local metadata dictionary to prepare for a new iteration.\n\n    Args\n    ----\n    local_meta : dict\n        Dictionary containing the execution metadata at the current level.\n\n    parent : list\n        List containing the parent iteration coordinate.\n\n    iteration : tuple(int)\n        Tuple of integers representing the current iteration and any sub-iterations.\n    '
    iter_coord = local_meta['coord']
    if isinstance(iteration, int):
        iteration = (iter_coord,)
    iter_coord[(- 1)] = iteration

dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/util/record_util.py update_local_meta/VarMisuse@34/173 `iteration`->`iter_coord`