Skip to content

Commit 40536bf

Browse files
committed
Enforced multirun = False for Proton energy FW and changed function name in test_core
1 parent 69ad658 commit 40536bf

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

atomate/qchem/firetasks/parse_outputs.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ class ProtCalcToDb(FiretaskBase):
136136
additional_fields (dict): dict of additional fields to add
137137
db_file (str): path to file containing the database credentials.
138138
Supports env_chk. Default: write data to JSON file.
139-
multirun (bool): Whether the job to parse includes multiple
140-
calculations in one input / output pair.
141139
runs (list): Series of file suffixes that the Drone should look for
142140
when parsing output.
143141
"""
@@ -151,7 +149,6 @@ class ProtCalcToDb(FiretaskBase):
151149
"output_file_H2",
152150
"additional_fields",
153151
"db_file",
154-
"multirun",
155152
"runs",
156153
]
157154

@@ -166,7 +163,6 @@ def run_task(self, fw_spec):
166163
output_file_H0 = self.get("output_file_H0", "H0.qout")
167164
input_file_H2 = self.get("input_file_H2", "H2_plus.qin")
168165
output_file_H2 = self.get("output_file_H2", "H2_plus.qout")
169-
multirun = self.get("multirun", False)
170166
runs = self.get("runs", None)
171167

172168
# parse the QChem directory
@@ -181,14 +177,14 @@ def run_task(self, fw_spec):
181177
path=calc_dir,
182178
input_file=input_file_H0,
183179
output_file=output_file_H0,
184-
multirun=multirun,
180+
multirun=False,
185181
)
186182

187183
task_doc_2 = drone.assimilate(
188184
path=calc_dir,
189185
input_file=input_file_H2,
190186
output_file=output_file_H2,
191-
multirun=multirun,
187+
multirun=False,
192188
)
193189

194190
task_doc_clean = task_doc_1

atomate/qchem/fireworks/tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def test_SinglePointFW_not_defaults(self):
136136
self.assertEqual(firework.parents, [])
137137
self.assertEqual(firework.name, "special single point")
138138

139-
def test_ProtonEnergyFW_not_defaults(self):
139+
def test_ProtonEnergyFW(self):
140140
H_site = Site("H", [0.0, 0.0, 0.0])
141141
H_site_inf = Site("H", [100000.0, 0.0, 0.0])
142142
H0_atom = Molecule.from_sites([H_site])

0 commit comments

Comments
 (0)