Skip to content

Commit

Permalink
update product template after generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed May 9, 2023
1 parent fcd95d7 commit 756c631
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rmgpy/data/kinetics/family.py
Expand Up @@ -821,6 +821,9 @@ def load(self, path, local_context=None, global_context=None, depository_labels=
self.reverse = local_context.get('reverse', None)
self.reversible = True if local_context.get('reversible', None) is None else local_context.get('reversible', None)
self.forward_template.products = self.generate_product_template(self.forward_template.reactants)
for entry in self.forward_template.products:
if isinstance(entry.item,Group):
entry.item.update()
if self.reversible:
self.reverse_template = Reaction(reactants=self.forward_template.products,
products=self.forward_template.reactants)
Expand Down

0 comments on commit 756c631

Please sign in to comment.