Skip to content

Commit

Permalink
Merge pull request #222 from pyiron/vasp_int_conv_check
Browse files Browse the repository at this point in the history
Fix to stop convergence checks for interactive jobs!
  • Loading branch information
sudarsan-surendralal authored Jun 7, 2021
2 parents ab76e5e + 68bc3ad commit 06d54ac
Showing 1 changed file with 13 additions and 0 deletions.
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

0 comments on commit 06d54ac

Please sign in to comment.