def _reshape_fluxes(fittedFluxes):
    """
    Reshaped the flux information from a dataframe to a dict to be used in
    constraint assigning functions.
    """
    MFA_flux_bounds = {}
    for i, rxn in fittedFluxes.iterrows():
        MFA_flux_bounds[rxn["rxn_id"]] = [rxn["flux_ub"], rxn["flux_lb"]]
    return MFA_flux_bounds