Skip to content

Set atomic number when applying a patch#1275

Merged
swails merged 3 commits into
ParmEd:masterfrom
peastman:atomicnumber
Mar 23, 2023
Merged

Set atomic number when applying a patch#1275
swails merged 3 commits into
ParmEd:masterfrom
peastman:atomicnumber

Conversation

@peastman

@peastman peastman commented Nov 1, 2022

Copy link
Copy Markdown
Contributor

When applying a patch to a residue, the atomic number was not set correctly for the added atoms. The result was that bonds were not added correctly when writing an OpenMM force field, since it thought all the new atoms were virtual sites or drude particles. See openmm/openmm#3815.

@peastman

Copy link
Copy Markdown
Contributor Author

Is this ok to merge?

@peastman

peastman commented Dec 8, 2022

Copy link
Copy Markdown
Contributor Author

@swails any comments on this PR?

@peastman

Copy link
Copy Markdown
Contributor Author

@swails can we please merge this? I'm still waiting on it.

@swails

swails commented Mar 23, 2023

Copy link
Copy Markdown
Contributor

Sorry - I hadn't merged it because the tests failed.

I've updated the branch and will hopefully merge when that passes.

@swails swails enabled auto-merge (squash) March 23, 2023 15:29
@swails swails merged commit a64033f into ParmEd:master Mar 23, 2023
@peastman

Copy link
Copy Markdown
Contributor Author

Thanks!

@peastman peastman deleted the atomicnumber branch March 23, 2023 16:25
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.

2 participants