# HG changeset patch # User luca_milaz # Date 1728836150 0 # Node ID 867a965d6a57173878ba7788ba580c080d22eea1 # Parent a7a079f6a4cdb918a0ce098e9731454ddf82dd18 Uploaded diff -r a7a079f6a4cd -r 867a965d6a57 COBRAxy/ras_to_bounds.py --- a/COBRAxy/ras_to_bounds.py Sun Oct 13 15:57:26 2024 +0000 +++ b/COBRAxy/ras_to_bounds.py Sun Oct 13 16:15:50 2024 +0000 @@ -123,8 +123,9 @@ Returns: None """ + warning(str(model.reactions.get_by_id("EX_Lcystin_e").lower_bound)) for reaction in rxns_ids: - if reaction in ras_row.index and reaction not in mediumRxns_ids: + if reaction in ras_row.index: #and reaction not in mediumRxns_ids scaling_factor = ras_row[reaction] lower_bound=model.reactions.get_by_id(reaction).lower_bound upper_bound=model.reactions.get_by_id(reaction).upper_bound @@ -137,6 +138,7 @@ if upper_bound!=0 and lower_bound!=0: model.reactions.get_by_id(reaction).lower_bound=valMin model.reactions.get_by_id(reaction).upper_bound=valMax + warning(str(model.reactions.get_by_id("EX_Lcystin_e").lower_bound)) pass def process_ras_cell(cellName, ras_row, model, rxns_ids, mediumRxns_ids, output_folder):