Closed blakemertz closed 4 months ago
(3 months later...)
The issue is now fixed!
@jeeberhardt thank you -- how was the issue fixed? I dont see any updates to the source code reflected in github.
Thanks for the clarification and fixing this issue. Much appreciated.
The minimize step for running waterkit fails because openmm will not read in units of energy in kcal/mol:
Looks like the culprit is in the import calls at the beginning of wk_miniimize_trajectory.py (simtk is deprecated in openmm 7/8 btw):
and here is the code snippet from wk_minimize_trajectory.py that is causing it to fail:
Should be a simple enough fix -- import kilojoules per mol instead of kcal (http://docs.openmm.org/latest/userguide/theory/01_introduction.html) and change the minimize_trajectory function for tolerance and K to use kJ/mol instead of kcal/mol. However, are there any other steps in the waterkit workflow that would be affected that utilize kcal/mol? wk_minimize_trajectory.py is the only script that explicitly references kcal/mol.
EDIT: on second thought, it must be something in how tolerance is being defined as a variable, since I don't get an error in python when I import unit from simtk.openmm. Is it something similar to this issue? https://github.com/openmm/openmm/issues/4069