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

Support of virtual sites for creating an Interchange from_openmm #1063

Open
hannahbaumann opened this issue Sep 26, 2024 · 2 comments · May be fixed by #1081
Open

Support of virtual sites for creating an Interchange from_openmm #1063

hannahbaumann opened this issue Sep 26, 2024 · 2 comments · May be fixed by #1081
Labels

Comments

@hannahbaumann
Copy link

Description
I'm trying to create an Interchange object from an OpenMM system that contains TIP4P water and got this Error: UnsupportedImportError: A particle is a virtual site, which is not yet supported.
Are there any plans to support virtual sites in the from_openmm call or would you recommend a different procedure in a case like this?

@mattwthompson
Copy link
Member

No plans right now (but also not planning on never doing this!). I've added it to the board to see how others in the org wish to assign its its priority.

At a technical level I think it's doable, and something narrowly-scoped to 4-site water models is certainly easier than general support. I think it's doable. Compared to a three-site water model, it's just an extra key in the ElectrostaticsCollection and constructing a VirtualSiteCollection from scratch, but only needing to support one style.

@hannahbaumann
Copy link
Author

Awesome, thank you for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants