Skip to content

Commit 0f12d53

Browse files
committed
fixed pdep
1 parent b91ff0c commit 0f12d53

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

t3/runners/rmg_adapter.py

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -368,18 +368,18 @@ def write_rmg_input_file(self):
368368
maximumAtoms=${max_atoms},
369369
)
370370
"""
371-
pdep['method'] = METHOD_MAP[pdep['method']] if pdep['method'] not in METHOD_MAP.values() else pdep['method']
372-
pdep['T_min'], pdep['T_max'], pdep['T_count'] = pdep['T']
373-
pdep['P_min'], pdep['P_max'], pdep['P_count'] = pdep['P']
374-
del pdep['T']
375-
del pdep['P']
376-
if pdep['interpolation'] == 'PDepArrhenius':
377-
pdep['interpolation'] = ('PDepArrhenius',)
378-
else:
379-
pdep['interpolation'] = ('Chebyshev', pdep['T_basis_set'], pdep['P_basis_set'])
380-
del pdep['T_basis_set']
381-
del pdep['P_basis_set']
382-
rmg_input += Template(pdep_template).render(**pdep)
371+
pdep['method'] = METHOD_MAP[pdep['method']] if pdep['method'] not in METHOD_MAP.values() else pdep['method']
372+
pdep['T_min'], pdep['T_max'], pdep['T_count'] = pdep['T']
373+
pdep['P_min'], pdep['P_max'], pdep['P_count'] = pdep['P']
374+
del pdep['T']
375+
del pdep['P']
376+
if pdep['interpolation'] == 'PDepArrhenius':
377+
pdep['interpolation'] = ('PDepArrhenius',)
378+
else:
379+
pdep['interpolation'] = ('Chebyshev', pdep['T_basis_set'], pdep['P_basis_set'])
380+
del pdep['T_basis_set']
381+
del pdep['P_basis_set']
382+
rmg_input += Template(pdep_template).render(**pdep)
383383

384384
# options
385385
options = rmg['options']
@@ -550,7 +550,6 @@ def write_submit_script(self) -> None:
550550
return
551551
if self.max_job_time < self.walltime:
552552
self.walltime = self.max_job_time
553-
architecture = ''
554553

555554
try:
556555
submit_script = submit_scripts['rmg'][settings['servers'][SERVER]['cluster_soft']].format(

0 commit comments

Comments
 (0)