Skip to content
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

Fix NaN-catching text in MultiStateSampler #684

Merged
merged 1 commit into from Apr 18, 2023

Conversation

dwhswenson
Copy link
Collaborator

Description

We're getting errors in OpenFE during minimization of the multistate sampler. This appears to be because a handler for NaN in the FIRE minimizer was not updated to match OpenMM's changed error message. (I note that other lines seem to have updated). See OpenFreeEnergy/openfe#253 (comment) and following.

Todos

  • Implement feature / fix bug
  • Add tests
  • Update documentation as needed
  • Update changelog to summarize changes in behavior, enhancements, and bugfixes implemented in this PR

Status

  • Ready to go

Changelog message

Fix NaN-catching text in MultiStateSampler

Copy link
Contributor

@mikemhenry mikemhenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this!

@mikemhenry mikemhenry enabled auto-merge (squash) April 18, 2023 18:14
@mikemhenry mikemhenry merged commit 1642a45 into choderalab:main Apr 18, 2023
14 checks passed
@ijpulidos
Copy link
Contributor

Nice catch! This might actually solve some of the stability issues some users been seeing when minimizing. Thanks!

@ijpulidos
Copy link
Contributor

Would this one solve #686 ?

@dwhswenson dwhswenson deleted the fix-nan-message branch April 18, 2023 20:08
@dwhswenson
Copy link
Collaborator Author

No; that was caught as a follow-up to this (we were seeing 100% failures at minimization). There's a more fundamental issue in the FIRE minimization.

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.

None yet

3 participants