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