Convenience classes/functions for working with mmjag

MmJag provides a wrapper to the C mmjag functions. MMJagManager provides a context manager and mmjag_function a decorator for initializing/terminating mmjag


Bases: schrodinger.infra.mmobject.MmObject

A reference counting class for dealing with mmjag handles.


Initialize an object with an existing MM handle - i.e. one created with direct calls to the mmlibs.

By default, the MM resources will be managed by the object. To keep these from being cleaned up on object deletion, set manage_handle=False.

static initialize(error_handler=None)
static terminate()
class 1)

Bases: object

__init__(handler=- 1)

A decorator that wraps functions with mmjag_initialize and mmjag_terminate.