-
Notifications
You must be signed in to change notification settings - Fork 11
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
Integrate fits of new potentials #57
Conversation
Integration of the fitting of ML potentials
Fix ase version to match atomate2 version
Use correct collate for m3gnet suitable for pes
@QuantumChemist thank you so much !!! |
@YuanbinLiu the next step would be activating all fitting tests and getting them to pass! |
@@ -1488,16 +1487,16 @@ def energy_remain(in_file): | |||
""" | |||
# read files | |||
in_atoms = ase.io.read(in_file, ":") | |||
if "data_type" in in_atoms[0].info: | |||
if "config_type" in in_atoms[0].info: |
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.
the correct config_type would be "IsolatedAtoms" (I made config and data types available as the (bulk) config types contain the mpid and the data types contains whether the data is phonon or rattled based)
@YuanbinLiu , I'm not sure how you run the unit tests on your local machine, but you can run them all with |
Co-authored-by: Christina Ertural <[email protected]>
This is what I used for the test. |
Co-authored-by: Christina Ertural <[email protected]>
The failing test is coming from "https://github.com/ACEsuit/ACEpotentials.jl/tree/main", trying to add it to git CI. @JaGeo, do you have any ideas on how to tackle this? As Acefit uses " Julia" language, I am not sure if it is fine to have two different languages in one environment. Also, for running tests locally, I got to know from @YuanbinLiu, that he has different environments: one for ace_fit and another for Python-based. Probably we can skip this ace_fit test or move to some separate tests that use julia |
@naik-aakash I am happy with a second workflow file or similar. Can one install ace-fit via conda? |
The only option that does not work in my opinion is skipping tests ;). Of couse, we should also then add installation instructions including the different fitting frameworks. |
Hi @JaGeo , I have managed to update the GitHub workflow to install Julia and its dependencies. For some reason it still cannot find installed packages of Julia. Seems I am missing something here. Maybe when you have some time, can you please have a look as well. Am still trying to find what is going wrong. I have also updated the |
@naik-aakash if the coverage is fine, I will merge right away. |
Thanks to @YuanbinLiu @QuantumChemist @naik-aakash and me! I will merge this as soon as the last test passes. Just as a side note: we need to increase test coverage for some module files. This could be done in a separate PR. |
To reactivate the tests, I moved the code into another branch! This will not erase any contributions, just reactivate the tests.
FYI: @QuantumChemist @YuanbinLiu @naik-aakash @vlderinger
Todo: