Closed BowenD-UCB closed 2 months ago
Attention: Patch coverage is 87.90698%
with 52 lines
in your changes are missing coverage. Please review.
Project coverage is 97.67%. Comparing base (
8ed58f9
) to head (4a875e0
).:exclamation: Current head 4a875e0 differs from pull request most recent head 49c5193. Consider uploading reports for the commit 49c5193 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This looks great!! @kenko911 will follow up with some suggestions and we can merge soon.
This update encompasses enhancements and refinements across various components of the MatGL framework, focusing on model training, graph operations, and API usability improvements. Key changes include the introduction of new normalization and graph convolution layers, modifications to model configurations for handling magnetic moments instead of site-wise properties, and updates to the ASE interface to support new calculations. Additionally, there are updates to documentation, testing, and example notebooks to align with the latest functionalities.
Files | Change Summary |
---|---|
Mo.cif, Mo_hello.cif, Mo_relaxed.cif |
Defined crystal structures for Molybdenum with specific atomic positions and unit cell parameters. |
.../CHGNet-MPtrj-2023.12.1-PES-2.7M/README.md, .../model.json |
Introduced a CHGNet model with specifics on the PyTorch implementation and data preprocessing for PES calculations. |
.../CHGNet-MPtrj-2024.2.13-PES-11M/README.md, .../model.json |
Updated CHGNet model trained with enhanced architecture settings for advanced PES calculations in material science. |
.../M3GNet-MP-2021.2.8-DIRECT-PES/model.json |
Shifted focus from site-wise property calculations to magnetic moments in the M3GNet model configuration. |
pyproject.toml |
Added Bowen Deng and Luis Barroso-Luque to the list of authors. |
src/matgl/apps/pes.py , src/matgl/cli.py , src/matgl/ext/ase.py |
Major updates to parameter naming, function logic, and extended support for magnetic moment calculations. |
src/matgl/graph/... , src/matgl/layers/... , src/matgl/models/... |
Added new classes and methods enhancing graph convolution capabilities and normalization processes. |
examples/... |
Updated API keys, Python versions, and import statements in example notebooks to reflect the latest library configurations. |
tests/... |
Enhanced testing for new functionalities, including magnetic moment calculations and updated model configurations. |
This table summarizes the changes made across the MatGL framework, highlighting the focus on enhancing model capabilities and refining the computational tools for materials science research.
@kenko911 Is this ready to be merged? You were supposed to review and provide comments.
Hi @shyuep, I already discussed this with Bowen and I am currently working on it. I will make a PR by the end of this week.
Hi @shyuep, I have restructured some MatGL modules and added more united tests for CHGNet implementations. I discussed this with Bowen and we both are happy about the current changes. Only 3 united tests fail due to the addition and refactoring of some variables in Potential class. When we perform the united test for loading pretrained PES models in MatGL, it fails with loading the previous model version from e.g. /home/runner/.cache/matgl/M3GNet-MP-2021.2.8-DIRECT-PES/model.json. I also updated the model veriosn of Potential class from 2 to 3 and I believe that it will be automatically fixed once we merge the changes to the main branch. Please have a look and let me know if any problems. Thanks!!
Summary
CHGNet implementaion: with two pretrained weights released
Implemented Functions
Todos
Summary by CodeRabbit