# HG changeset patch # User luca_milaz # Date 1728895016 0 # Node ID 67a79e4f037abb9909ad1a1ea76176935ec7ca4c # Parent 258ff4208e523d25ffb3b69fd010708e14ddc902 Uploaded diff -r 258ff4208e52 -r 67a79e4f037a COBRAxy/ras_to_bounds.py --- a/COBRAxy/ras_to_bounds.py Mon Oct 14 08:29:08 2024 +0000 +++ b/COBRAxy/ras_to_bounds.py Mon Oct 14 08:36:56 2024 +0000 @@ -173,6 +173,10 @@ pd.DataFrame: DataFrame containing the bounds of reactions in the model. """ rxns_ids = [rxn.id for rxn in model.reactions] + + #metto a zero medium engro2 + for rxn_id, _ in model.medium: + model.reactions.get_by_id(rxn_id).lower_bound = float(0.0) # Set medium conditions for reaction, value in medium.items():