Mercurial > repos > bimib > cobraxy
changeset 108:22cebbdb4b6d draft
Uploaded
author | luca_milaz |
---|---|
date | Sun, 13 Oct 2024 14:35:39 +0000 |
parents | 58919e82d96e |
children | ba10ad78fc5f |
files | COBRAxy/ras_to_bounds.py |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py Sun Oct 13 14:06:53 2024 +0000 +++ b/COBRAxy/ras_to_bounds.py Sun Oct 13 14:35:39 2024 +0000 @@ -175,14 +175,6 @@ rxns_ids = [rxn.id for rxn in model.reactions] # Set medium conditions - ''' - reactions_medium=model2.medium.keys() - for reaction in reactions_medium: - if(reaction != "EX_thbpt_e" and reaction != "EX_lac__L_e"): - model2.reactions.get_by_id(reaction).lower_bound=-float(ras_meta.loc[cell,"countmatrix_"+reaction]) - if(reaction == "EX_lac__L_e"): - model2.reactions.get_by_id(reaction).lower_bound=float(0.0) - ''' for reaction, value in medium.items(): if value is not None: if(reaction != "EX_thbpt_e" and reaction != "EX_lac__L_e"):