Mercurial > repos > bimib > cobraxy
diff COBRAxy/ras_to_bounds.py @ 125:a9825d06cc43 draft
Uploaded
author | luca_milaz |
---|---|
date | Mon, 14 Oct 2024 08:38:46 +0000 |
parents | 67a79e4f037a |
children | d40d5d5435df |
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py Mon Oct 14 08:36:56 2024 +0000 +++ b/COBRAxy/ras_to_bounds.py Mon Oct 14 08:38:46 2024 +0000 @@ -175,7 +175,7 @@ rxns_ids = [rxn.id for rxn in model.reactions] #metto a zero medium engro2 - for rxn_id, _ in model.medium: + for rxn_id, _ in model.medium.items(): model.reactions.get_by_id(rxn_id).lower_bound = float(0.0) # Set medium conditions