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)

Bases: MmObject

Wrap an underlying mmlist “instance” and provides access to its members through the python sequence syntax.

static initialize(_)
static terminate()
__init__(handle_or_list, manage_handle=True)

Initialize an object with an existing mmlist handle or python list of ints.

__len__()

Return the number of elements in the mmlist.

__contains__(value)

Returns True if the list contains the specified value, False otherwise