IMP  2.0.0
The Integrative Modeling Platform
kmeans/_version_check.py
1 def check_version(myversion):
2  def _check_one(name, expected, found):
3  if expected != found:
4  raise RuntimeError('Expected version '+expected+' but got '+ found +' when loading module '+name +'. Please make sure IMP is properly built and installed and that matching python and C++ libraries are used.')
5  _check_one('kmeans', '2.0.0', myversion)
6