Skip to content

Commit 490db28

Browse files
committed
Skip a KineticsError if cannot find family reaction in reverse
1 parent 16e2684 commit 490db28

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

rmgpy/data/kinetics/family.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,8 +1866,9 @@ def add_reverse_attribute(self, rxn, react_non_reactive=True):
18661866
logging.error("Still experiencing error: Expecting one matching reverse reaction, not {0} in "
18671867
"reaction family {1} for forward reaction {2}."
18681868
"\n".format(len(reactions), self.label, str(rxn)))
1869-
raise KineticsError("Did not find reverse reaction in reaction family {0} for reaction "
1870-
"{1}.".format(self.label, str(rxn)))
1869+
# raise KineticsError("Did not find reverse reaction in reaction family {0} for reaction "
1870+
# "{1}.".format(self.label, str(rxn)))
1871+
return False
18711872
elif (len(reactions) > 1 and
18721873
not all([reactions[0].is_isomorphic(other, strict=False, check_template_rxn_products=True)
18731874
for other in reactions])):

0 commit comments

Comments
 (0)