Skip to content

Commit bcb7d2e

Browse files
author
Nelly Mitnik
committed
revert commit 126c1f5
1 parent 7057a34 commit bcb7d2e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

t3/simulate/rmg_constantTP.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def set_up(self):
116116
write_rmg_input_file(
117117
rmg=self.generate_rmg_reactors_for_simulation(),
118118
t3=self.t3,
119+
iteration=1, # Does not matter for simulating or computing SA.
119120
path=self.rmg_input_file,
120121
walltime=self.t3['options']['max_RMG_walltime'],
121122
)

t3/utils/writer.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
def write_rmg_input_file(rmg: dict,
2020
t3: dict,
21+
iteration: int,
2122
path: str,
22-
iteration: int = 1,
2323
walltime: str = '00:00:00:00',
2424
):
2525
"""
@@ -29,9 +29,8 @@ def write_rmg_input_file(rmg: dict,
2929
Args:
3030
rmg (dict): The arguments to write in a keyword argument dictionary format.
3131
t3 (dict): The T3 arguments in a keyword argument dictionary format. Includes atol and rtol for SA.
32+
iteration (int): The T3 iteration, used to determine ``core_tolerance`` and ``tolerance_interrupt_simulation``.
3233
path (str): The path where the RMG input file should be saved.
33-
iteration (int, optional): The T3 iteration, used to determine ``core_tolerance`` and
34-
``tolerance_interrupt_simulation``. Does not matter for simulating or computing SA.
3534
walltime (str, optional): The time cap for an RMG run. Should pass here t3['options']['max_RMG_walltime']
3635
"""
3736
rmg = rmg.copy()

0 commit comments

Comments
 (0)