changeset 110:76e87d3b9e0e draft

Uploaded
author luca_milaz
date Sun, 13 Oct 2024 15:42:10 +0000
parents ba10ad78fc5f
children 22d2cf96d552
files COBRAxy/ras_to_bounds.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py	Sun Oct 13 15:37:33 2024 +0000
+++ b/COBRAxy/ras_to_bounds.py	Sun Oct 13 15:42:10 2024 +0000
@@ -177,6 +177,7 @@
     # Set medium conditions
     for reaction, value in medium.items():
         if value is not None:
+            warning(str(reaction) + " " + str(value))
             if(reaction != "EX_thbpt_e" and reaction != "EX_lac__L_e"):
                 model.reactions.get_by_id(reaction).lower_bound = -float(value)
             if(reaction == "EX_lac__L_e"):
@@ -266,8 +267,6 @@
         medium = df_mediums[[ARGS.medium_selector]]
         medium = medium[ARGS.medium_selector].to_dict()
 
-    warning(str(medium))
-
     if(ARGS.ras_selector == True):
         generate_bounds(model, medium, ras = ras_combined, output_folder=ARGS.output_folder)
         class_assignments.to_csv(ARGS.cell_class, sep = '\t', index = False)