Package schrodinger :: Package application :: Package desmond :: Package packages :: Package msys :: Class Param
[hide private]
[frames] | no frames]

Class Param

object --+    
         |    
    Handle --+
             |
            Param

A `Param` instance is a reference to a row in a `ParamTable`. Use the ``dict``-style interface to get and set values in the row. Msys will take care of converting input values to the type of the corresponding column, and raise an exception if the conversion cannot be performed.

Instance Methods [hide private]
 
__repr__(self)
repr(x)
 
keys(self)
sorted list of available properties
 
__setitem__(self, prop, val)
update the value of prop with val
 
__getitem__(self, prop)
get the value of prop
 
duplicate(self)
create a new entry in the parent parameter table with the same values as this one, returning it.

Inherited from Handle: __eq__, __hash__, __init__, __ne__

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  id
id in parent table
  table
parent ParamTable
  system
parent System

Inherited from Handle (private): _id, _ptr

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

id

id in parent table

Get Method:
unreachable.id(self) - id in parent table

table

parent ParamTable

Get Method:
unreachable.table(self) - parent ParamTable

system

parent System

Get Method:
unreachable.system(self)