-
Notifications
You must be signed in to change notification settings - Fork 520
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
Chore: refactor LinearAtomicModel serialize/deserialize #3451
Conversation
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## devel #3451 +/- ##
==========================================
- Coverage 77.34% 77.34% -0.01%
==========================================
Files 428 428
Lines 37001 37005 +4
Branches 1621 1621
==========================================
+ Hits 28619 28621 +2
- Misses 7514 7516 +2
Partials 868 868 ☔ View full report in Codecov by Sentry. |
for more information, see https://pre-commit.ci
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.
This PR provides a default weight computing method for the linear model (average over all sub-models) to make it instantiable. @njzjz please check if it a good design
for more information, see https://pre-commit.ci
This PR refactors the serialization/ deserialization in LinearEnergyAtomicModel using the plugin mechanism introduced in #3438 .