changeset 307:d1319e7ecca3 draft

Uploaded
author luca_milaz
date Mon, 05 Aug 2024 11:31:24 +0000
parents 81f22dabe9b8
children cb2eb46a4c54
files marea_2/flux_to_map.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/flux_to_map.py	Mon Aug 05 11:18:43 2024 +0000
+++ b/marea_2/flux_to_map.py	Mon Aug 05 11:31:24 2024 +0000
@@ -395,7 +395,7 @@
         self.applyTo(idOpt1, metabMap, self.toStyleStr(downSizedForTips = True))
         if idOpt2: self.applyTo(idOpt2, metabMap, self.toStyleStr(downSizedForTips = True))
 
-    def styleReactionElements_custom(self, metabMap :ET.ElementTree, reactionId :str, isNegative:bool) -> None:
+    def styleReactionElementsMeanMedian(self, metabMap :ET.ElementTree, reactionId :str, isNegative:bool) -> None:
 
         self.applyTo(getArrowBodyElementId(reactionId), metabMap, self.toStyleStr())
         idOpt1, idOpt2 = getArrowHeadElementId(reactionId)
@@ -974,7 +974,7 @@
         None
     """
     arrow = Arrow(width=5, col=color)
-    arrow.styleReactionElements_custom(metabMap, rxn_id, isNegative)
+    arrow.styleReactionElementsMeanMedian(metabMap, rxn_id, isNegative)
     pass
 
 def save_and_convert(metabMap, map_type, key):