def get_reactions_producing(complexes, reactions):
    """ dict: maps complexes to lists of reactions where they appear as a product. """
    return {c: [r for r in reactions if (c in r.products)] for c in complexes}