Package schrodinger :: Package application :: Package bioluminate :: Package patch_utils :: Module settings :: Class PatchType
[hide private]
[frames] | no frames]

Class PatchType

object --+    
         |    
 enum.Enum --+
             |
            PatchType

Nested Classes [hide private]

Inherited from enum.Enum: _member_type_

Instance Methods [hide private]
 
__init__(self, long_name, short_name, unit)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__format__(self, format_spec)
default object formatter
 
__reduce_ex__(self, proto)
helper for pickle
 
__repr__(self)
repr(x)
 
__str__(self)
str(x)

Inherited from enum.Enum: __dir__, __eq__, __ge__, __gt__, __hash__, __le__, __lt__, __ne__

Inherited from object: __delattr__, __getattribute__, __reduce__, __setattr__, __sizeof__, __subclasshook__

Static Methods [hide private]

Inherited from enum.Enum: __new__

Class Variables [hide private]
  positive = "Positive", "pos", "eV"
  negative = "Negative", "neg", "eV"
  hydrophobic = "Hydrophobic", "hyd", "sLogP"
  _member_map_ = OrderedDict([('hydrophobic', <PatchType.hydroph...
  _member_names_ = ['hydrophobic', 'negative', 'positive']
  _value2member_map_ = {('Hydrophobic', 'hyd', 'sLogP'): <PatchT...

Inherited from enum.Enum: name, value

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, long_name, short_name, unit)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • long_name (str) - The patch name used in the details dialog
  • short_name (str) - The patch name used in the patch table
  • unit (str) - The unit for values of this patch
Overrides: object.__init__

__format__(self, format_spec)

 

default object formatter

Overrides: object.__format__
(inherited documentation)

__reduce_ex__(self, proto)

 

helper for pickle

Overrides: object.__reduce_ex__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

_member_map_

Value:
OrderedDict([('hydrophobic', <PatchType.hydrophobic: ('Hydrophobic', '\
hyd', 'sLogP')>), ('negative', <PatchType.negative: ('Negative', 'neg'\
, 'eV')>), ('positive', <PatchType.positive: ('Positive', 'pos', 'eV')\
>)])

_value2member_map_

Value:
{('Hydrophobic', 'hyd', 'sLogP'): <PatchType.hydrophobic: ('Hydrophobi\
c', 'hyd', 'sLogP')>,
 ('Negative', 'neg', 'eV'): <PatchType.negative: ('Negative', 'neg', '\
eV')>,
 ('Positive', 'pos', 'eV'): <PatchType.positive: ('Positive', 'pos', '\
eV')>}