schrodinger.infra.mminit module¶
A class to assist in initialization and termination of mmlibs.
-
class
schrodinger.infra.mminit.Initializer(initializers, terminators)¶ Bases:
objectA class to handle initialization and termination of needed mmlibs.
It is designed to be created on import and initialize needed mmlibs for a module. In general, automatic termination is not supported, but terminate method can be called manually.
-
__init__(initializers, terminators)¶ Initialize self. See help(type(self)) for accurate signature.
-
initialize(error_handler=None)¶ Initialize all needed mmlibs.
-
terminate()¶ Terminate all previously initialized mmlibs.
-