Package schrodinger :: Package infra :: Module mmcheck :: Class _Wrapper
[hide private]
[frames] | no frames]

Class _Wrapper

Class used to wrap a function from pymmlibs, checking the return code and raising an exception if it is not of the correct 'OK' enum value.

Instance Methods [hide private]
 
__init__(self, function, return_code, indicates_failure)
 
__call__(self, *args)
Call the wrapped mmlib function.