-
Notifications
You must be signed in to change notification settings - Fork 99
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
WIP: Vasp ml #715
base: main
Are you sure you want to change the base?
WIP: Vasp ml #715
Conversation
Auto-update pre-commit hooks
Added unit tests for MLMDSetGenerator.
…tputs by providing a dict instead of a list of files. MLFF job maker. Adapted MultiMDMaker to perform MLFF calculations. Fixed split of number of steps and start/end temperatures in MultiMDMaker.
@ml-evs As we discussed about using that, could you try this implementation ? Still more features to be added in the MultiMDMaker (train+run, refit, ...) |
This PR needs (at least) this to be merged in pymatgen: materialsproject/pymatgen#3625 |
This PR also needs the following PR to be merged in emmet: materialsproject/emmet#939 |
calculations. Added option to vasp sets base to get the previous band gap or not.
Pinging @utf to get your opinion on this draft, especially in terms of the input sets for which I added some option to disable band structure parsing (this should obviously be moved to pymatgen anyway to the new input sets there). |
Hi @davidwaroquiers, appologies for the delay looking at this. This looks good to me, except the part about the band gap handling. These seems quite heavy handed. I wonder if the input sets can just check for the band gap and if there is an error then just set a default value. I.e., this is all handled in the input set generator entirely, without needing to make changes in other files. I think this workflow will also need to be updated to use the latest input sets in pymatgen once #854 is merged. |
Thanks @utf ! No worries about the delay! I've seen #854 has been merged so I'll work this out when I'm back from holidays. Indeed the band gap thing is a bit clunky... I will see how to do that in a cleaner way. |
Summary
Adding Vasp ML functionality in MultiMDMaker.
Also added possibility to rename additioal vasp files within copy_vasp_outputs (needed to allow ML_ABN=>ML_AB and ML_FFN=>ML_FF)
Additional dependencies introduced (if any)
None
TODO (if any)
If this is a work-in-progress, write something about what else needs to be done.
Checklist
Work-in-progress pull requests are encouraged, but please put [WIP] in the pull request
title.
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.