Package schrodinger :: Package application :: Package matsci :: Package espresso :: Module qeinput :: Class GenericType
[hide private]
[frames] | no frames]

Class GenericType

object --+
         |
        GenericType
Known Subclasses:

Generic class for different input types.

Instance Methods [hide private]
 
__init__(self)
Initialize GenericType object and update attributes from data.
 
updateWithData(self, data)
Update attributes from data.
 
_cleanData(self, data)
Any operations on data before setting/updating attributes.

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

 

Initialize GenericType object and update attributes from data.

Overrides: object.__init__

updateWithData(self, data)

 

Update attributes from data. Set object attribute from data. Example: self.attribute = self.data.get(attribute)

Parameters:
  • data (dict) - Dictionary of settings