changeset 104:d4d84b2bce9b draft

Uploaded
author luca_milaz
date Sun, 13 Oct 2024 13:42:22 +0000
parents d1370b6bb4c5
children e3b3958c0d88
files COBRAxy/ras_to_bounds.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py	Sun Oct 13 13:39:00 2024 +0000
+++ b/COBRAxy/ras_to_bounds.py	Sun Oct 13 13:42:22 2024 +0000
@@ -154,7 +154,7 @@
         None
     """
     model_new = model.copy()
-    warning(ras_row.index)
+    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)