Skip to content

Fix issue #92 - #93

Merged
lohedges merged 4 commits into
develfrom
fix_92
Sep 23, 2026
Merged

lohedges merged 4 commits into
develfrom
fix_92

Conversation

@lohedges

Copy link
Copy Markdown
Contributor

This PR closes #92 by avoiding scripting internal models used by EMLE and MACEMLE, which breaks pickling of the models themselves. For the latter, _get_mace_state and _set_mace_state methods are added to aid serialisation. I also added a fallback neighbourlist calculation in cases where nnpops is unavailable, since it's becoming increasingly hard to resolve environments with it included. (Users should probably install from source, but ultimately we might move to mlipops.)

The EMLE fix is only needed on devel, but the MACEEMLE one is needed on main too. After this is merged I'll backport those specific changes to main in a follow-up PR.

The implementation in this PR was aided by Claude Code (Opus 5.5).

@JMorado

@JMorado

JMorado commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Many thanks @lohedges. LGTM! @epretti could you confirm that the OpenMM-ML-EMLE interface now works with the devel branch?

@lohedges
lohedges merged commit 75103a6 into devel Sep 23, 2026
5 of 6 checks passed
@lohedges
lohedges deleted the fix_92 branch September 23, 2026 11:59
@lohedges lohedges mentioned this pull request Sep 23, 2026
@epretti

epretti commented Sep 23, 2026

Copy link
Copy Markdown

Thanks for the quick fix. It looks to be working again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants