IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
modeller/_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(
'modeller'
,
'2.0.1'
, myversion)
6