Commit b6bb43e4 authored by Malthe Kjær Bisbo's avatar Malthe Kjær Bisbo
Browse files

Added error handling for when evaluation fails repeatedly

parent c34665a0
......@@ -297,7 +297,7 @@ class GOFEE():
t4 = time()
kappa = self.kappa
a_add = []
for _ in range(5):
for _ in range(3):
anew = self.select_with_acquisition(relaxed_candidates, kappa)
anew = self.evaluate(anew)
......@@ -311,6 +311,8 @@ class GOFEE():
kappa /=2
if self.master:
raise RuntimeError('Evaluation failed repeatedly - It might help to constrain the atomic positions during search.')
# log timing
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment