def relay_gen_tuple(relay_gens):
    """
    Create list of (relay, gen) tuples
    """
    relay_gen_tuple = list()

    for r, gens in relay_gens.items():
        for g in gens:
            relay_gen_tuple.append((r,g))
    return relay_gen_tuple