-
Notifications
You must be signed in to change notification settings - Fork 15
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
[BUG] Failure to run when minimising with restraints using OpenMM
#340
Comments
Running Attempting to load In [1]: import BioSimSpace as BSS
INFO:numexpr.utils:Note: NumExpr detected 20 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
INFO:numexpr.utils:NumExpr defaulting to 8 threads.
In [2]: BSS.IO.readMolecules(["openmm.prm7", "openmm_ref.rst7"])
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ in <module>:1 │
│ │
│ /home/matt/code/biosimspace/python/BioSimSpace/IO/_io.py:550 in │
│ readMolecules │
│ │
│ 547 │ │ │ │ if _isVerbose(): │
│ 548 │ │ │ │ │ raise IOError(msg) from e0 │
│ 549 │ │ │ │ else: │
│ ❱ 550 │ │ │ │ │ raise IOError(msg) from None │
│ 551 │ │ │ else: │
│ 552 │ │ │ │ msg = "Failed to read molecules from: %s" % files │
│ 553 │ │ │ │ if _isVerbose(): │
╰──────────────────────────────────────────────────────────────────────────────╯
OSError: Incompatibility between molecular information in files: ['openmm.prm7',
'openmm_ref.rst7'] |
That's strange. Presumably the LJ change is causing a self-consistency issue somewhere. I'll try to debug this tomorrow. |
I see the issue. If |
Describe the bug
Same issue as #339 , this time in OpenMM when using
Protocol.Minimisation
andProtocol.Equilibration
withrestraints
.To Reproduce
The following code fails to produce a system, with
process_m1.getSystem()
returningNone
removing
restraint="heavy"
solves the issue(please complete the following information):
The text was updated successfully, but these errors were encountered: