Skip to content

Commit

Permalink
Merge 54a53a5 into a7f49d8
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Dec 4, 2019
2 parents a7f49d8 + 54a53a5 commit 189cd51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyiron/sphinx/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,12 @@ def restart(
from_charge_density=True,
from_wave_functions=True,
):
if self.status!='finished':
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always")
self.collect_output()
if len(w) > 0:
self.status.not_converged = True
new_job = super(SphinxBase, self).restart(
snapshot=snapshot, job_name=job_name, job_type=job_type
)
Expand Down

0 comments on commit 189cd51

Please sign in to comment.