-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update pyproject.toml and __init__.py to automatically get the …
…version number. (#160) * Refactor plotting code in dftb2nnsk.py * refactor(nnsk): Refactor NNSK class in nnsk.py to fix push_decay method and update push options * update saver.py to save ckpt with name of ovlp * fix: update nnsk from reference and change the sign of ovp_thr * update saver.py * update mos2 example * Update test_sktb.py with new model weights and fix init_model path in test_md * docs: Update dftb.md with hBN model training steps and fix formatting * Refactor main.py to add version flag and handle unknown version * Update pyproject.toml to add toml dependency * update pyproject.toml and add -v command * update ut.sh * update unit_test.yml and ut.sh * ci: update unit_test.yml * ci: update unit_test.yml * ci: update unit_test.yml * ci: update unit_test.yml * ci: update unit_test.yml * ci: update unit_test.yml * build(deps): update 2 files and delete 1 file * ci: update devcontainer.yml * ci: update devcontainer.yml * ci: update devcontainer.yml * ci: update devcontainer.yml * ci: update devcontainer.yml * back to main * Update devcontainer.yml and unit_test.yml workflows
- Loading branch information
Showing
6 changed files
with
21 additions
and
102 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from dptb.version import get_version as _get_version | ||
__version__ = _get_version() | ||
import importlib.metadata | ||
|
||
__version__ = importlib.metadata.version("dptb") |
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 was deleted.
Oops, something went wrong.
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