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

Class _FFRestraintProperty

UserDict.DictMixin --+
                     |
                    _FFRestraintProperty

A dictionary to hold restraint force field parameters.

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

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 restraint, None if not.

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

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

 

Set a force field parameter for the restraint.

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