# HG changeset patch # User luca_milaz # Date 1728807103 0 # Node ID 5302258f8262f4a9152c46ea63b51cd64cc80ebd # Parent 14076662f68767bf390460558afca54bc93dd9bf Uploaded diff -r 14076662f687 -r 5302258f8262 COBRAxy/ras_to_bounds.py --- a/COBRAxy/ras_to_bounds.py Sun Oct 13 08:08:33 2024 +0000 +++ b/COBRAxy/ras_to_bounds.py Sun Oct 13 08:11:43 2024 +0000 @@ -123,6 +123,7 @@ 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 + warning("Reaction: "+reaction+" Lower Bound: "+str(lower_bound)+" Upper Bound: "+str(upper_bound)+" Scaling Factor: "+str(scaling_factor)) valMax=float((upper_bound)*scaling_factor) valMin=float((lower_bound)*scaling_factor) if upper_bound!=0 and lower_bound==0: