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