IMP  2.0.1
The Integrative Modeling Platform
cnmultifit/_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('cnmultifit', '2.0.1', myversion)
6