def _enzyme_path_to_sequence(path, graph, enzymes_sites):
    """Converts a path of successive enzymes into a sequence."""
    return "".join(
        [enzymes_sites[path[0]]]
        + [graph[(n1, n2)]["diff"] for n1, n2 in zip(path, path[1:])]
    )