# HG changeset patch # User luca_milaz # Date 1722857484 0 # Node ID d1319e7ecca3be4df1df49be8bd9b091363a2bd2 # Parent 81f22dabe9b8ed4ac574ca2b2eef4587f12d61b0 Uploaded diff -r 81f22dabe9b8 -r d1319e7ecca3 marea_2/flux_to_map.py --- 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):