-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Including VASP surface adsorption flow #691
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #691 +/- ##
==========================================
+ Coverage 75.70% 76.31% +0.60%
==========================================
Files 147 159 +12
Lines 10925 11606 +681
Branches 1613 1719 +106
==========================================
+ Hits 8271 8857 +586
- Misses 2173 2234 +61
- Partials 481 515 +34
|
Hi @itsduowang thanks for the PR. You can try to use pre-commit and ruff to fix any lint issues. Install pre-commit hooks to auto-check types and linting before every commit
Use ruff to check and fix format
|
There would be interest in adding this workflow for FHI-aims as well. Do you have any recommendations on when we should port this for FHI-aims? |
Hi @tpurcell90, I am not familiar with the FHI-aims package. But I would love to work with you together to port this for FHI-aims! |
Okay we'd be happy to work with you on that (FHI-aims is a nao basis set code). I think it would make sense for this one to get merged in first since it is already quite large. @utf do you agree with that it should wait for this to get merged in? |
Yes @tpurcell90, I think it would be better to merge the PR and then we can work on the adding FHI-aims support. @utf, I have done the debugging for that K point issue and ran the pytest and testing workflow from my end (https://github.com/itsduowang/atomate2/actions/runs/10375913622). Please take a look and help me to rerun the testing. Thanks so much! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @itsduowang. Some more comments - this is almost there now. The main points are:
- Better use of
prev_dir
. - Creating a schema for the adsorption data.
Let me know if you have any concerns about the comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edit: my comment got posted twice for some reason.
Hi @utf, thanks for these updates. I will go through each item and resolve those issues. |
Hi @utf. I have resolved all the issues you mentioned above and included the schema into the adsorption workflow. Please take a look and let me know for any further issues or concerns. |
Thanks @itsduowang. This looks great to me. |
* [WIP] adding surface adsorption calculation flow * [WIP] adding surface adsorption calculation flow * [WIP] adding surface adsorption calculation flow * [WIP] adding surface adsorption calculation flow * [WIP] adding surface adsorption calculation flow * [WIP] adding surface adsorption calculation flow * [WIP] adding surface adsorption calculation flow * [wip] implementing more of jobs and flow in surface adsorption function * [wip] implementing more of jobs and flow in surface adsorption function * [wip] implementing more of jobs and flow in surface adsorption function * [wip] implementing more of jobs and flow in surface adsorption function * [wip] implementing more of jobs and flow in surface adsorption function * [wip] implementing more of jobs and flow in surface adsorption function * [wip] implementing more of jobs and flow in surface adsorption function * [wip] implementing more of jobs and flow in surface adsorption function * [wip] implementing more of jobs and flow in surface adsorption function * temp test on push * fix adsorption in flows and jobs * add document in adsorption of jobs and flows * check format * [wip] implementing test for adsorption workflow * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] bug fixing * [wip] updating VASP database * fixes to the input structures 1. using the DFT relaxed structures for molecule & bulk slab instead of raw MP structures. * Using a Molecule object instead of a Structure object for molecule_structure * Add files via upload * Delete tests/test_data/vasp/Au_adsorption/ads_relax_1_3/inputs directory * Delete tests/test_data/vasp/Au_adsorption/ads_relax_2_3/inputs directory * Delete tests/test_data/vasp/Au_adsorption/ads_relax_3_3/inputs directory * Delete tests/test_data/vasp/Au_adsorption/bulk directory * Delete tests/test_data/vasp/Au_adsorption/mol directory * Add files via upload * Add files via upload * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test file * [wip] updating the test_adsorption file * [wip] updating the test_adsorption file * [wip] updating the test_adsorption file * [wip] updating the test_adsorption file * fixing K point mesh * fixing K point mesh * fixing K point mesh * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * fixing K point mesh * fixing K point mesh * fixing K point mesh * fixing K point mesh * fixing K point mesh * fixing K point mesh * fixing K point mesh * fixing K point mesh * fixing k points and creating a schema * fixing k points and creating a schema * creating a schema * creating a schema * creating a schema --------- Co-authored-by: Xin_Chen <[email protected]> Co-authored-by: Xin Chen <[email protected]> Co-authored-by: Hrushikesh Sahasrabuddhe <[email protected]>
[This PR is still working in progress.]
Summary
including adsorption flow using VASP into atomate2
There are two files added into /vasp/flows and /vasp/jobs directories in order to implement surface adsorption calculation.
TODO
Checklist
Before a pull request can be merged, the following items must be checked:
The easiest way to handle this is to run the following in the correct sequence on
your local machine. Start with running
ruff
andruff format
on your new code. This willautomatically reformat your code to PEP8 conventions and fix many linting issues.
Run ruff on your code.
type check your code.
Note that the CI system will run all the above checks. But it will be much more efficient if you already fix most errors prior to submitting the PR. It is highly recommended that you use the pre-commit hook provided in the repository. Simply run
pre-commit install
and a check will be run prior to allowing commits.