changeset 280:5bfc1b9cde50 draft

Uploaded
author luca_milaz
date Sun, 04 Aug 2024 17:59:54 +0000
parents 6544f0027c72
children d0a2043eb4d9
files marea_2/flux_to_map.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/flux_to_map.py	Sun Aug 04 17:55:22 2024 +0000
+++ b/marea_2/flux_to_map.py	Sun Aug 04 17:59:54 2024 +0000
@@ -876,6 +876,10 @@
             #arrow.applyTo(getArrowBodyElementId(rxn_id), metabMap_median, arrow.toStyleStr())
             arrow.styleReactionElements(metabMap_median, rxn_id, mindReactionDir=False)
 
+            idOpt1, idOpt2 = getArrowHeadElementId(rxn_id)
+            arrow.applyTo(idOpt1, metabMap_median, arrow.toStyleStr(downSizedForTips = True))
+            if idOpt2: arrow.applyTo(idOpt2, metabMap_median, arrow.toStyleStr(downSizedForTips = True))
+
             # Now we style the arrow head(s):
             #idOpt1, idOpt2 = getArrowHeadElementId(arrow.getMapReactionId(rxn_id, mindReactionDir=True))
             #arrow.applyTo(idOpt1, metabMap_median, arrow.toStyleStr(downSizedForTips = True))
@@ -888,6 +892,10 @@
             #arrow.applyTo(getArrowBodyElementId(rxn_id), metabMap_mean, arrow.toStyleStr())
             arrow.styleReactionElements(metabMap_mean, rxn_id, mindReactionDir=False)
 
+            idOpt1, idOpt2 = getArrowHeadElementId(rxn_id)
+            arrow.applyTo(idOpt1, metabMap_mean, arrow.toStyleStr(downSizedForTips = True))
+            if idOpt2: arrow.applyTo(idOpt2, metabMap_mean, arrow.toStyleStr(downSizedForTips = True))
+
             # Now we style the arrow head(s):
             #idOpt1, idOpt2 = getArrowHeadElementId(arrow.getMapReactionId(rxn_id, mindReactionDir=True))
             #arrow.applyTo(idOpt1, metabMap_mean, arrow.toStyleStr(downSizedForTips = True))