-
Notifications
You must be signed in to change notification settings - Fork 26
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
Error with addExclusion() #38
Comments
Can you post your script as well? Without knowing the values of |
Thanks for the fast response! I created a minimal example ( I noticed, that I can reproduce the error only for systems containing ions:
If you need any additional information, let me know! |
|
@dominicrufa may have input as well.
EDIT: Nevermind this proposal. I was thinking we had explored an alternative strategy, but I don't think this would help in this case. |
For certain molecules, like the phenylformate example here:
phenylformate.zip
I get an error when creating a mixedSystem:
ml_system = potential.createMixedSystem(psf.topology, mm_system, ml_atoms, interpolate=True)
When I look in the code of openmmm-ml:
openmm-ml/openmmml/mlpotential.py
Line 262 in 5b577c2
I see that the particles i and j are passed to the function together with a boolean. Is this really necessary, because the corresponding
addExclusion
function is only expecting the two particles? (I'm using openmm version 7.7.0)When removing
True
everything seems to work fine...The text was updated successfully, but these errors were encountered: