Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyiron_atomistics/vasp/base.py
Original file line number Diff line number Diff line change
@@ -1550,6 +1550,9 @@ def restart(self, job_name=None, job_type=None):
new_ham (vasp.vasp.Vasp instance): New job
"""
new_ham = super(VaspBase, self).restart(job_name=job_name, job_type=job_type)
if not self.is_compressed():
self.collect_output()
self.compress()
if new_ham.__name__ == self.__name__:
new_ham.input.potcar["xc"] = self.input.potcar["xc"]
if new_ham.input.incar["MAGMOM"] is not None:

0 comments on commit 8c5c504

Please sign in to comment.