# HG changeset patch # User francesco_lapi # Date 1732180699 0 # Node ID 8b7d2e6b499530e3e8a942d264b5662e4cad5d01 # Parent bd4e756de8bb8447a3694880aa6b491314601c5a Uploaded diff -r bd4e756de8bb -r 8b7d2e6b4995 COBRAxy/flux_to_map.py --- a/COBRAxy/flux_to_map.py Thu Nov 21 09:08:15 2024 +0000 +++ b/COBRAxy/flux_to_map.py Thu Nov 21 09:18:19 2024 +0000 @@ -400,20 +400,6 @@ def styleReactionElements(self, metabMap :ET.ElementTree, reactionId :str, *, mindReactionDir = True) -> None: if not mindReactionDir: - if 'r1050' in reactionId: - print(reactionId) - print(self.toStyleStr()) - print(getArrowBodyElementId(reactionId)) - print(getElementById(getArrowBodyElementId(reactionId), metabMap)) - - for element in metabMap.iter(): - # Ottieni l'attributo 'id' dell'elemento (se esiste) - element_id = element.get('id') - if element_id and 'r1050' in element_id: - print(element_id) - print(True) - - return self.applyTo(getArrowBodyElementId(reactionId), metabMap, f";stroke:#a020f0;stroke-width:2;stroke-dasharray:5,5") return self.applyTo(getArrowBodyElementId(reactionId), metabMap, self.toStyleStr()) # Now we style the arrow head(s):