Mercurial > repos > bimib > cobraxy
changeset 118:6e1a6e480969 draft
Uploaded
author | luca_milaz |
---|---|
date | Sun, 13 Oct 2024 16:32:08 +0000 |
parents | 69190617d1ea |
children | 829ea241c3a1 |
files | COBRAxy/ras_to_bounds.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py Sun Oct 13 16:27:27 2024 +0000 +++ b/COBRAxy/ras_to_bounds.py Sun Oct 13 16:32:08 2024 +0000 @@ -178,9 +178,6 @@ pd.DataFrame: DataFrame containing the bounds of reactions in the model. """ rxns_ids = [rxn.id for rxn in model.reactions] - - warning(str(model.reactions.get_by_id("EX_Lcystin_e").lower_bound)) - warning(str(model.reactions.get_by_id("EX_Lcystin_e").upper_bound)) # Set medium conditions for reaction, value in medium.items(): @@ -200,6 +197,9 @@ model.reactions.get_by_id(reaction).lower_bound = float(df_FVA.loc[reaction, "minimum"]) model.reactions.get_by_id(reaction).upper_bound = float(df_FVA.loc[reaction, "maximum"]) + warning(str(model.reactions.get_by_id("EX_Lcystin_e").lower_bound)) + warning(str(model.reactions.get_by_id("EX_Lcystin_e").upper_bound)) + if ras is not None: #Parallel(n_jobs=cpu_count())(delayed(process_ras_cell)(cellName, ras_row, model, rxns_ids, output_folder) for cellName, ras_row in ras.iterrows()) for cellName, ras_row in ras.iterrows():