schrodinger.infra.mmlist module
A wrapper for the mmlist mmlib.
Copyright Schrodinger, LLC. All rights reserved.
-
class schrodinger.infra.mmlist.mmlist(handle_or_list, manage_handle=True)[source]
Bases: schrodinger.infra.mmobject.MmObject
Wrap an anderlying mmlist “instance” and provides access to its members
through the python sequence syntax.
-
__init__(handle_or_list, manage_handle=True)[source]
Initialize an object with an existing mmlist handle or python list
of ints.
-
static initialize(error_handler=None)[source]
Initialize mmlist.
-
static terminate()[source]
Terminate mmlist.
-
__len__()[source]
Return the number of elements in the mmlist.
-
__contains__(value)[source]
Returns True if the list contains the specified value, False otherwise