Package schrodinger :: Package infra :: Module mmlist
[hide private]
[frames] | no frames]

Module mmlist

A wrapper for the mmlist mmlib.

Copyright Schrodinger, LLC. All rights reserved.

Classes [hide private]
  mmlist
Wrap an anderlying mmlist "instance" and provides access to its members through the python sequence syntax.
Functions [hide private]
 
_mmlist_from_pylist(pylist)
Create an mmlist from a python list, and return the integer handle of that mmlist.
 
_mmlist_to_pylist(mmlist_handle)
Create a standard python list from the provided mmlist handle.
Variables [hide private]
  __package__ = 'schrodinger.infra'
Function Details [hide private]

_mmlist_from_pylist(pylist)

 

Create an mmlist from a python list, and return the integer handle of that mmlist. Note that the mmlist will now accept a python sequence as the first argument to the constructor.

_mmlist_to_pylist(mmlist_handle)

 

Create a standard python list from the provided mmlist handle. If mmlist_handle is an mmlist object, it's easier to just invoke list(mmlist_handle).