Open
Description
I am planning to write a new force that uses the RMSD between molecules and I will use the OpenMM RMSDForce as a base.
The first thing I did was to include in the plugin the OpenMM RMSDForce, which I named MyRMSDForce for now.
I am getting the following error when creating MyRMSDForce:
File "/home/silveira/miniconda3/lib/python3.6/site-packages/exampleplugin.py", line 394, in __init__
_exampleplugin.MyRMSDForce_swiginit(self, _exampleplugin.new_MyRMSDForce(*args))
TypeError: Wrong number or type of arguments for overloaded function 'new_MyRMSDForce'.
Possible C/C++ prototypes are:
ExamplePlugin::MyRMSDForce::MyRMSDForce(std::vector< OpenMM::Vec3,std::allocator< OpenMM::Vec3 > > const &,std::vector< int,std::allocator< int > > const &)
ExamplePlugin::MyRMSDForce::MyRMSDForce(std::vector< OpenMM::Vec3,std::allocator< OpenMM::Vec3 > > const &)
I think that the issue is related to the swig interface file
Should I add something in exampleplugin.i
to handle <vector>Vec3?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels