Skip to content

Commit

Permalink
BugFix: T and P increments in RMG's PDep block must be integers
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Aug 24, 2020
1 parent 9f3ecba commit e69e8a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t3/utils/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ def write_rmg_input_file(rmg: dict,
pdep['method'] = METHOD_MAP[pdep['method']]
pdep['T_min'], pdep['T_max'], pdep['T_count'] = pdep['T']
pdep['P_min'], pdep['P_max'], pdep['P_count'] = pdep['P']
pdep['T_count'], pdep['P_count'] = int(pdep['T_count']), int(pdep['P_count'])
del pdep['T']
del pdep['P']
if pdep['interpolation'] == 'PDepArrhenius':
Expand Down

0 comments on commit e69e8a2

Please sign in to comment.