diff --git a/source/RMG/jing/rxn/TemplateReaction.java b/source/RMG/jing/rxn/TemplateReaction.java index 14763ac5..d5e947a8 100644 --- a/source/RMG/jing/rxn/TemplateReaction.java +++ b/source/RMG/jing/rxn/TemplateReaction.java @@ -301,7 +301,7 @@ else if (n4 != null) // RMG expects to find *1 and *2 in the same ChemGraph (for this rxn family) // but will instead find *1 and *3 in the same ChemGraph (if we've reached this far) // Need to switch *2 and *3 - else if (k == null && rRT.name.equals("substitutionS")) { + else if (k == null && (rRT.name.equals("substitutionS") || rRT.name.equals("Substitution_O"))) { ChemGraph cg1 = ((ChemGraph) fproduct.get(0)); ChemGraph cg2 = ((ChemGraph) fproduct.get(1)); Graph g1 = cg1.getGraph();