schrodinger.application.jaguar.mmjag module

A wrapper to the C mmjag functions.

class schrodinger.application.jaguar.mmjag.MmJag(handle)

Bases: schrodinger.infra.mmobject.MmObject

A reference counting class for dealing with mmjag handles.

__init__(handle)

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)
__class__

alias of builtins.type

__del__()

Decrement the reference count. If the handle is being actively managed, call _delete when it the count hits zero.

__delattr__

Implement delattr(self, name).

__dict__ = mappingproxy({'__module__': 'schrodinger.application.jaguar.mmjag', '__doc__': '\n A reference counting class for dealing with mmjag handles.\n ', '__init__': <function MmJag.__init__>, 'initialize': <staticmethod object>, 'terminate': <staticmethod object>, '_delete': <function MmJag._delete>})
__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__int__()

Return the handle of the object so that the object reference can be used in functions that expect an integer handle.

__le__

Return self<=value.

__lt__

Return self<value.

__module__ = 'schrodinger.application.jaguar.mmjag'
__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__weakref__

list of weak references to the object (if defined)

static terminate()