# HG changeset patch # User luca_milaz # Date 1728895126 0 # Node ID a9825d06cc439d38a61470d3bee98f77cd1e1ce3 # Parent 67a79e4f037abb9909ad1a1ea76176935ec7ca4c Uploaded diff -r 67a79e4f037a -r a9825d06cc43 COBRAxy/ras_to_bounds.py --- 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