changeset 194:8b7d2e6b4995 draft

Uploaded
author francesco_lapi
date Thu, 21 Nov 2024 09:18:19 +0000
parents bd4e756de8bb
children c349c4fd404d
files COBRAxy/flux_to_map.py
diffstat 1 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- 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):