Closed jlmaccal closed 10 years ago
You don't need to reproduce stripUnits() here. It's already a public member of simtk.openmm, so you can just call it directly.
OK, fixed.
I think these lines probably got copied over by accident:
%pythonappend OpenMM::Context::Context %{
self._system = args[0]
self._integrator = args[1]
%}
Also, shouldn't there be an "import simtk.unit as unit" in there somewhere? I didn't see one, yet you refer to members of the unit module. Does it actually work as written?
Yes on both counts. Fixed.
Thanks!
Wrappers now include: