Skip to content

Commit e69e8a2

Browse files
committed
BugFix: T and P increments in RMG's PDep block must be integers
1 parent 9f3ecba commit e69e8a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t3/utils/writer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def write_rmg_input_file(rmg: dict,
249249
pdep['method'] = METHOD_MAP[pdep['method']]
250250
pdep['T_min'], pdep['T_max'], pdep['T_count'] = pdep['T']
251251
pdep['P_min'], pdep['P_max'], pdep['P_count'] = pdep['P']
252+
pdep['T_count'], pdep['P_count'] = int(pdep['T_count']), int(pdep['P_count'])
252253
del pdep['T']
253254
del pdep['P']
254255
if pdep['interpolation'] == 'PDepArrhenius':

0 commit comments

Comments
 (0)