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. If library termination is needed, the terminate method can be called explicitly. Otherwise, the libraries will be terminated at garbage collection of the instance.
-
initialize(error_handler=None)¶ Initialize all needed mmlibs.
-
terminate()¶ Terminate all previously initialized mmlibs.
-