Package schrodinger :: Package application :: Package phase :: Module featureselector :: Class FeatureRow
[hide private]
[frames] | no frames]

Class FeatureRow

object --+
         |
        FeatureRow

Data class that contains information about single feature in a hypothesis. This can be a regular feature or excluded volume.

Instance Methods [hide private]
 
__init__(self, hypo_eid, hypo_name, feature_name, is_xvol, use_feature)
Initialize feature data.

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, hypo_eid, hypo_name, feature_name, is_xvol, use_feature)
(Constructor)

 

Initialize feature data.

Parameters:
  • hypo_eid (int) - hypothesis entry id
  • hypo_name (str) - hypothesis name. For custom features hypothesis name should be set to None!
  • is_xvol (bool) - True if this is excluded volume and False otherwise
  • feature_name (str) - feature name (empty string in case of excluded volume)
  • use_feature (bool) - indicates whether checkbox for this feature is toggled on or off
Overrides: object.__init__