Skip to content

Commit

Permalink
Update to get_kinetics_for_template docstring to fix accidental remov…
Browse files Browse the repository at this point in the history
…al of useful description of what data type is returned
  • Loading branch information
jonwzheng authored and JacksonBurns committed Feb 16, 2024
1 parent 9ab9c40 commit d207493
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rmgpy/data/kinetics/family.py
Original file line number Diff line number Diff line change
Expand Up @@ -2402,6 +2402,8 @@ def get_kinetics_for_template(self, template, degeneracy=1, method='rate rules')
Returns a tuple (kinetics, entry):
If it's estimated via 'rate rules' and an exact match is found in the tree,
then the entry is returned as the second element of the tuple.
But if an average is used,then the tuple returned is (kinetics, None).
"""
if method.lower() == 'rate rules':
return self.estimate_kinetics_using_rate_rules(template, degeneracy) # This returns kinetics and entry data
Expand Down

0 comments on commit d207493

Please sign in to comment.