changeset 288:d1d732d1705c draft

Uploaded
author francesco_lapi
date Wed, 14 May 2025 10:04:23 +0000
parents c8622bca2480
children 3f5cfcf4d9eb
files COBRAxy/marea.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/COBRAxy/marea.py	Wed May 14 09:23:52 2025 +0000
+++ b/COBRAxy/marea.py	Wed May 14 10:04:23 2025 +0000
@@ -427,8 +427,10 @@
         self.dash = isDashed
     
     def applyTo(self, reactionId :str, metabMap :ET.ElementTree, styleStr :str) -> None:
-        if getElementById(reactionId, metabMap).map(lambda el : styleMapElement(el, styleStr)).isErr:
-            ERRORS.append(reactionId)
+        #if 
+        getElementById(reactionId, metabMap).map(lambda el : styleMapElement(el, styleStr)).unwrap()
+        #.isErr:
+        #    ERRORS.append(reactionId)
 
     def styleReactionElements(self, metabMap :ET.ElementTree, reactionId :str, *, mindReactionDir = True) -> None:
         # If We're dealing with RAS data or in general don't care about the direction of the reaction we only style the arrow body