Mercurial > repos > bimib > marea_2
changeset 195:1579b38b9c90 draft
Uploaded
author | francesco_lapi |
---|---|
date | Wed, 31 Jul 2024 14:23:43 +0000 |
parents | 03ca38228586 |
children | 4aca24a98a4c |
files | marea_2/flux_to_map.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/marea_2/flux_to_map.py Wed Jul 31 13:55:59 2024 +0000 +++ b/marea_2/flux_to_map.py Wed Jul 31 14:23:43 2024 +0000 @@ -498,11 +498,11 @@ try: width = max(abs(z_score * Arrow.MAX_W) / maxNumericZScore, Arrow.MIN_W) except ZeroDivisionError: pass - if not reactionId.endswith("_RV"): # RV stands for reversible reactions - Arrow(width, ArrowColor.fromFoldChangeSign(foldChange)).styleReactionElements(metabMap, reactionId) - continue + #if not reactionId.endswith("_RV"): # RV stands for reversible reactions + # Arrow(width, ArrowColor.fromFoldChangeSign(foldChange)).styleReactionElements(metabMap, reactionId) + # continue - reactionId = reactionId[:-3] # Remove "_RV" + #reactionId = reactionId[:-3] # Remove "_RV" inversionScore = (values[3] < 0) + (values[4] < 0) # Compacts the signs of averages into 1 easy to check score if inversionScore == 2: foldChange *= -1