Skip to content

Commit

Permalink
Check in ReactionTest before setting cls.rmgdb.kinetics.families to None
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Dec 5, 2023
1 parent 7cfb2a6 commit dc45e29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arc/reaction_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ def setUpClass(cls):
"""
cls.maxDiff = None
cls.rmgdb = rmgdb.make_rmg_database_object()
cls.rmgdb.kinetics.families = None
if cls.rmgdb.kinetics is not None:
cls.rmgdb.kinetics.families = None
rmgdb.load_families_only(cls.rmgdb, "all")

cls.h2_xyz = {'coords': ((0, 0, 0.3736550), (0, 0, -0.3736550)), 'isotopes': (1, 1), 'symbols': ('H', 'H')}
Expand Down

0 comments on commit dc45e29

Please sign in to comment.