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

Catch LennardJonesGenerator made NB functions. #511

Merged
merged 1 commit into from May 26, 2021

Conversation

Lnaden
Copy link
Contributor

@Lnaden Lnaden commented May 26, 2021

Description

Correctly raise a NYI error when the nonbonded force's LJ terms are
handled by a tabulated potential generated by the OpenMM forcefield.py's
LennardJonesGenerator function (Such as CHARMM36). This will prevent
the alchemical factory from continuing and act like everything is
correct when it isn't.

Temporary catch until #510 can be fixed.

Fix the case there is a CustomNB force that doesn't have the tabulated
expression.

Status

  • Ready to go

Correctly raise a NYI error when the nonbonded force's LJ terms are
handled by a tabulated potential generated by the OpenMM forcefield.py's
LennardJonesGenerator function (Such as CHARMM36). This will prevent
the alchemical factory from continuing and act like everything is
correct when it isn't.

Temporary catch until choderalab#510 can be fixed.

Fix the case there is a CustomNB force that doesn't have the tabulated
expression.
Copy link
Member

@jchodera jchodera left a comment

Choose a reason for hiding this comment

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

Thanks! This is a good solution for safety now. See #510 for my notes on how we can properly address this.

@jchodera jchodera merged commit 347379b into choderalab:master May 26, 2021
@jchodera
Copy link
Member

Whoops---forgot to catch that we should update the changelog too!

Lnaden added a commit to Lnaden/openmmtools that referenced this pull request May 26, 2021
Update's changelog to reflect choderalab#511 changes.
@Lnaden Lnaden mentioned this pull request May 26, 2021
5 tasks
mikemhenry added a commit that referenced this pull request Dec 18, 2021
* Update changelog for #511

Update's changelog to reflect #511 changes.

* update changelog with other PRs we missed

Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
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

2 participants