# HG changeset patch # User francesco_lapi # Date 1747217063 0 # Node ID d1d732d1705c2116e913d27eda04546974146190 # Parent c8622bca24800dd106f88017d50b37d6cf976c4c Uploaded diff -r c8622bca2480 -r d1d732d1705c COBRAxy/marea.py --- 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