Mercurial > repos > bimib > cobraxy
diff COBRAxy/ras_to_bounds.py @ 105:e3b3958c0d88 draft
Uploaded
author | luca_milaz |
---|---|
date | Sun, 13 Oct 2024 13:47:24 +0000 |
parents | d4d84b2bce9b |
children | 1629671d4ca6 |
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py Sun Oct 13 13:42:22 2024 +0000 +++ b/COBRAxy/ras_to_bounds.py Sun Oct 13 13:47:24 2024 +0000 @@ -154,7 +154,6 @@ None """ model_new = model.copy() - warning(str(ras_row.index)) apply_ras_bounds(model_new, ras_row, rxns_ids) bounds = pd.DataFrame([(rxn.lower_bound, rxn.upper_bound) for rxn in model_new.reactions], index=rxns_ids, columns=["lower_bound", "upper_bound"]) bounds.to_csv(output_folder + cellName + ".csv", sep='\t', index=True)