-
Notifications
You must be signed in to change notification settings - Fork 874
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert
kpts
in Kpoints
to Sequence[tuple]
and set it as `prope…
…rty` (#3758) * convert some types * make real tuple * remove unnecessary `int` before `math.floor/ceil` * Revert remove unnecessary int to avoid diff pollute This reverts commit f8f43a2. * fix some tests * fix more tests * relocate type Vector3D Matrix3D SitePropsType * fix some Kpoint types * fix some type * relocate dunder methods to the head * fix some type errors * revert unneeded cast to tuple * pre-commit auto-fixes * revert unneeded cast to tuple * revert unneeded cast to tuple * pre-commit auto-fixes * use Union over | * remove unnecessary wrapping * fix some types * fix direct float str to int conversion * use float for Kpoint * fix type * increase msg verbosity * fix types * remove debug print * add missing types * handle nparray * fix/suppress mypy error * change kpt weight to float in doc * add type for typealias * fix typealias import * remove type annotation for types * add unit test for property kpts
- Loading branch information
1 parent
e04444e
commit bf2f421
Showing
16 changed files
with
310 additions
and
188 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
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
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
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
Oops, something went wrong.