Mercurial > repos > bimib > cobraxy
diff COBRAxy/ras_to_bounds.py @ 63:5302258f8262 draft
Uploaded
author | luca_milaz |
---|---|
date | Sun, 13 Oct 2024 08:11:43 +0000 |
parents | 14076662f687 |
children | b10da5046afd |
line wrap: on
line diff
--- 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: