Skip to content

Commit

Permalink
write the autoGenerated attribute to the groups.py file when saving
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed Dec 13, 2019
1 parent d29a940 commit 35a320e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rmgpy/data/kinetics/family.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,9 @@ def save_groups(self, path):
f.write('reactantNum = {0}\n\n'.format(self.reactant_num))
if self.product_num is not None:
f.write('productNum = {0}\n\n'.format(self.product_num))

if self.auto_generated is not None:
f.write('autoGenerated = {0}\n\n'.format(self.autoGenerated))

# Write the recipe
f.write('recipe(actions=[\n')
Expand Down

0 comments on commit 35a320e

Please sign in to comment.