basic_utils/utils.py
def merge_dict(path, single_trans):
    """
    Merge a single transition into the total path.
    """
    for k in single_trans:
        path[k] += single_trans[k]
    return 1 - single_trans['not_done'][0]

    Merge a single transition into the total path.
    
Merge a single transition into the total path.
Merge a single transition into the total path .
def merge_dict(path, single_trans):
    for k in single_trans:
        path[k] += single_trans[k]
    return 1 - single_trans['not_done'][0]
def merge_dict ( path , single_trans ) : for k in single_trans : path [ k ] += single_trans [ k ] return 1 - single_trans [ 'not_done' ] [ 0 ]
Merge a single transition into the total path.
Merge a single transition into the total path .
"""
    Merge a single transition into the total path.
    """
path
single_trans