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

Work out how to handle packing tolerance in a solvent agnostic manner #2

Open
IAlibay opened this issue Sep 23, 2024 · 0 comments
Open
Milestone

Comments

@IAlibay
Copy link
Member

IAlibay commented Sep 23, 2024

The default packing tolerance is set at 2.0 * angstrom. This is necessary when you have solvent with rings, otherwise you end up with these kinds of issues:

remember_rings

However, when you do this, you'll end up with issues where some ligands fail to solvate. Here are examples from our test set:

FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCOP(=O)(OCCCC)OCCCC] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCOCCCC] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCCCO] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCN(CC)CC] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCCC] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCCCC] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCC] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[C1CCCCC1] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CC(C)OC(C)C] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCc1ccccc1] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCCO] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCCC(C)C] - openff.interchange.exceptions.PACKMOLRuntimeError
FAILED test_interchange_packmol.py::test_nonwater_solvent[CCCCCCCC] - openff.interchange.exceptions.PACKMOLRuntimeError

The best way to solvate these cases is to lower the tolerance, but then you face a case where this lowered tolerance causes problems for the ring-containing solvents...

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

No branches or pull requests

1 participant