Skip to content

Commit

Permalink
pre-commit auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed May 21, 2024
1 parent 197177e commit 67fb1b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions custodian/vasp/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ def _get_nbands_from_outcar(directory: str) -> int | None:
pass
return nbands


class LrfCommutatorHandler(ErrorHandler):
"""
Corrects LRF_COMMUTATOR errors by setting LPEAD=True if not already set.
Expand Down
3 changes: 2 additions & 1 deletion tests/vasp/test_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,8 @@ def test_auto_nbands(self) -> None:
handler.check()
dct = handler.correct()
assert "auto_nbands" in dct["errors"]



class AliasingErrorHandlerTest(PymatgenTest):
def setUp(self) -> None:
copy_tmp_files(self.tmp_path, *glob("aliasing/*", root_dir=TEST_FILES))
Expand Down

0 comments on commit 67fb1b5

Please sign in to comment.