# HG changeset patch # User francesco_lapi # Date 1722435823 0 # Node ID 1579b38b9c903de76b3c55435f8ffb5748bdc358 # Parent 03ca382285863fa8d9e592dff9a335e86eb7425e Uploaded diff -r 03ca38228586 -r 1579b38b9c90 marea_2/flux_to_map.py --- 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