Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to stop convergence checks for interactive jobs! #222

Merged
merged 6 commits into from
Jun 7, 2021
Merged
13 changes: 13 additions & 0 deletions pyiron_atomistics/vasp/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,19 @@ def _run_if_new(self, debug=False):
self._check_incar_parameter(parameter="ISYM", value=0)
super(VaspInteractive, self)._run_if_new(debug=debug)

def convergence_check(self):
"""
We don't care about convergence for interactive jobs! Always returns True

Returns:
bool: Always True

"""
if self.server.run_mode.interactive:
return True
else:
return super().convergence_check()


class Output(OutputBase):
"""
Expand Down