-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AttributeError NoneType has no attribute 'style' (#283)
* fix AttributeError NoneType has no attribute 'style' when using INCAR tag 'kspacing' instead of KPOINTS file * fix KeyError custodian/vasp/tests/test_handlers.py:229: # The next correction check ISYM and no CHGCAR h.correct() vi = VaspInput.from_directory(".") > assert vi["INCAR"]["ISYM"] == 0 E KeyError: 'ISYM' * simplify 'if vi["KPOINTS"] is not None' to 'if vi["KPOINTS"]' * pytest GH action only run on PR/psuh to master and ignore docs changes
- Loading branch information
Showing
3 changed files
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters