diff --git a/rmgpy/rmg/model.py b/rmgpy/rmg/model.py index 68c421c2c5..25939c220c 100644 --- a/rmgpy/rmg/model.py +++ b/rmgpy/rmg/model.py @@ -811,13 +811,13 @@ def processNewReactions(self, newReactions, newSpecies, pdepNetwork=None): if rxn is None: # Skip this reaction because there was something wrong with it continue + spcs = [] if isNew: # We've made a new reaction, so make sure the species involved # are in the core or edge allSpeciesInCore = True # Add the reactant and product species to the edge if necessary # At the same time, check if all reactants and products are in the core - spcs = [] for spec in rxn.reactants: if spec not in self.core.species: allSpeciesInCore = False