DFT Dispersion Correction Labeler
This Python-based project is designed to process a database of structures and label them with DFT dispersion corrections. It reads an existing database, applies the desired DFT dispersion scheme ontop of the present energy and force labels, and writes the corrected structures to a new database.
Installation
We recommend working in a conda environment:
conda create -n dftd-env python=3.9 -y
conda activate dftd-env
Then install conda-specific dependencies:
conda install -c conda-forge ase simple-dftd3 dftd3-python dftd4 dftd4-python -y
Finally, install the tools:
pip install dftd-labeler
Usage
After installation, you can use the tool as a command-line program:
dftd_labeler -i INPUT_DATABASE_PATH -o OUTPUT_DATABASE_PATH -d DISPERSION_SCHEME
Options
- -m or --dft_method: Specifies the DFT Method to be used. Default is 'SCAN'.
- -i or --input_database: Specifies the path to the database to be read. This is a required argument.
- -o or --output_database: Specifies the path to write the labeled database. This is a required argument.
- -d or --dispersion: Specifies which dispersion scheme to use. Only values 3 or 4 are allowed, indicating DFT-D3 and DFT-D4 respectively. This is a required argument.
Example
To process a database using the default DFT method (SCAN) and the DFT-D4 dispersion scheme:
dftd_labeler -i my_database.extxyz -o output_database.extxyz -d 4
Dependencies
This project depends on several Python libraries, including ase, dftd4.ase, dftd3.ase. Ensure you have all required dependencies installed.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Metadata
Release files for dftd-labeler 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dftd_labeler-0.1.2.tar.gz | 5.1 kB | Without provenance | Details for dftd_labeler-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dftd_labeler-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for dftd_labeler-0.1.2-py3-none-any.whl |
Total release size: 11.0 kB
Release files / dftd_labeler-0.1.2.tar.gz
| Download URL | dftd_labeler-0.1.2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35cb360a0231cdebb147a0299616c2fadd7e64627501e1a85a98c174478f5ae3
|
|
BLAKE2b-256 checksum How to use checksums |
edba98289442f9fa979a55fe9b2bf0089b827eec9d3019e38d7b9f9a89614990
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / dftd_labeler-0.1.2-py3-none-any.whl
| Download URL | dftd_labeler-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f5da6fcf580626a6d79e17aa125b1f2c23a9bc5789930af55e923b638747c54
|
|
BLAKE2b-256 checksum How to use checksums |
33990a6ca932d27d6c10628412c9ec861ba82bea120c12c0bbea6ff823e46e36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for dftd-labeler 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.