Package schrodinger :: Package trajectory :: Module ffstructure :: Class _FFConstraintProperty
[hide private]
[frames] | no frames]

Class _FFConstraintProperty

UserDict.DictMixin --+
                     |
                    _FFConstraintProperty

A dictionary to hold constraint force field parameters.

Instance Methods [hide private]
 
__init__(self, ffconstraint, ffhandle, _index)
 
__getitem__(self, item)
Return the given item if it is a valid force field parameter for this constraint, None if not.
 
__setitem__(self, item, value)
Set a force field parameter for the constraint.
 
keys(self)
Returns a list of the property names for this constraint.

Inherited from UserDict.DictMixin: __cmp__, __contains__, __iter__, __len__, __repr__, clear, get, has_key, items, iteritems, iterkeys, itervalues, pop, popitem, setdefault, update, values

Method Details [hide private]

__getitem__(self, item)
(Indexing operator)

 

Return the given item if it is a valid force field parameter for this constraint, None if not.

Parameters:
  • item (string) - The property name.

__setitem__(self, item, value)
(Index assignment operator)

 

Set a force field parameter for the constraint.

Parameters:
  • item (string) - The property name.
  • value - The value to be set.