changeset 266:f3da6593b296 draft

Uploaded
author luca_milaz
date Sun, 04 Aug 2024 15:36:07 +0000
parents 49d9d6c58e85
children b469aa18c008
files marea_2/flux_to_map.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/flux_to_map.py	Sun Aug 04 15:29:02 2024 +0000
+++ b/marea_2/flux_to_map.py	Sun Aug 04 15:36:07 2024 +0000
@@ -866,7 +866,7 @@
 
         for rxn_id in ids:
             arrow = Arrow(width=5, col=colors_median[rxn_id])
-            arrow.applyTo(rxn_id, metabMap_median, arrow.toStyleStr())
+            arrow.applyTo(arrow.getMapReactionId(rxn_id, mindReactionDir=False), metabMap_median, arrow.toStyleStr())
 
         svgFilePath = utils.FilePath("SVG Map median - class " + str(key), ext = utils.FileFormat.SVG, prefix="result")
         utils.writeSvg(svgFilePath, metabMap_median)