schrodinger.utils.colorscheme module¶
-
schrodinger.utils.colorscheme.new_instancemethod(func, inst, cls)¶
-
class
schrodinger.utils.colorscheme.SwigPyIterator(*args, **kwargs)¶ Bases:
object-
thisown¶ The membership flag
-
__init__(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
__repr__()¶
-
__swig_destroy__()¶
-
__iter__()¶
-
__add__()¶
-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__init__': <function SwigPyIterator.__init__>, '__repr__': <function _swig_repr>, '__swig_destroy__': <built-in function delete_SwigPyIterator>, '__iter__': <function SwigPyIterator.__iter__>, '__dict__': <attribute '__dict__' of 'SwigPyIterator' objects>, '__weakref__': <attribute '__weakref__' of 'SwigPyIterator' objects>, '__doc__': None, 'value': <instancemethod SwigPyIterator_value>, 'incr': <instancemethod SwigPyIterator_incr>, 'decr': <instancemethod SwigPyIterator_decr>, 'distance': <instancemethod SwigPyIterator_distance>, 'equal': <instancemethod SwigPyIterator_equal>, 'copy': <instancemethod SwigPyIterator_copy>, 'next': <instancemethod SwigPyIterator_next>, '__next__': <instancemethod SwigPyIterator___next__>, 'previous': <instancemethod SwigPyIterator_previous>, 'advance': <instancemethod SwigPyIterator_advance>, '__eq__': <instancemethod SwigPyIterator___eq__>, '__ne__': <instancemethod SwigPyIterator___ne__>, '__iadd__': <instancemethod SwigPyIterator___iadd__>, '__isub__': <instancemethod SwigPyIterator___isub__>, '__add__': <instancemethod SwigPyIterator___add__>, '__sub__': <instancemethod SwigPyIterator___sub__>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__()¶
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__iadd__()¶
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__isub__()¶
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__()¶
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__next__()¶
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__sub__()¶
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
advance()¶
-
copy()¶
-
decr()¶
-
distance()¶
-
equal()¶
-
incr()¶
-
next()¶
-
previous()¶
-
value()¶
-
-
class
schrodinger.utils.colorscheme.MM_Color(*args)¶ Bases:
object-
thisown¶ The membership flag
-
__repr__()¶
-
__init__(*args)¶ Initialize self. See help(type(self)) for accurate signature.
-
__swig_destroy__()¶
-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__repr__': <function _swig_repr>, '__init__': <function MM_Color.__init__>, '__swig_destroy__': <built-in function delete_MM_Color>, '__dict__': <attribute '__dict__' of 'MM_Color' objects>, '__weakref__': <attribute '__weakref__' of 'MM_Color' objects>, '__doc__': None, 'set': <instancemethod MM_Color_set>, 'setName': <instancemethod MM_Color_setName>, 'getRGBA': <instancemethod MM_Color_getRGBA>, 'getName': <instancemethod MM_Color_getName>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
getName()¶
-
getRGBA()¶
-
set()¶
-
setName()¶
-
-
class
schrodinger.utils.colorscheme.MMrange¶ Bases:
object-
thisown¶ The membership flag
-
__repr__()¶
-
begin¶
-
end¶
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
-
__swig_destroy__()¶
-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__repr__': <function _swig_repr>, 'begin': <property object>, 'end': <property object>, '__init__': <function MMrange.__init__>, '__swig_destroy__': <built-in function delete_MMrange>, '__dict__': <attribute '__dict__' of 'MMrange' objects>, '__weakref__': <attribute '__weakref__' of 'MMrange' objects>, '__doc__': None})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
schrodinger.utils.colorscheme.MM_Colormap(size: int = 256)¶ Bases:
object-
thisown¶ The membership flag
-
__repr__()¶
-
__init__(size: int = 256)¶ Initialize self. See help(type(self)) for accurate signature.
-
__swig_destroy__()¶
-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__repr__': <function _swig_repr>, '__init__': <function MM_Colormap.__init__>, '__swig_destroy__': <built-in function delete_MM_Colormap>, '__dict__': <attribute '__dict__' of 'MM_Colormap' objects>, '__weakref__': <attribute '__weakref__' of 'MM_Colormap' objects>, '__doc__': None, 'set': <instancemethod MM_Colormap_set>, 'getRGBA': <instancemethod MM_Colormap_getRGBA>, 'getName': <instancemethod MM_Colormap_getName>, 'getIndex': <instancemethod MM_Colormap_getIndex>, 'getRange': <instancemethod MM_Colormap_getRange>, 'getSize': <instancemethod MM_Colormap_getSize>, 'isValidIndex': <instancemethod MM_Colormap_isValidIndex>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
getIndex()¶
-
getName()¶
-
getRGBA()¶
-
getRange()¶
-
getSize()¶
-
isValidIndex()¶
-
set()¶
-
-
class
schrodinger.utils.colorscheme.MM_ColormapGL(*args, **kwargs)¶ Bases:
schrodinger.utils.colorscheme.MM_Colormap-
thisown¶ The membership flag
-
__init__(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
__repr__()¶
-
__swig_destroy__()¶
-
static
getDefaultMap()¶
-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__init__': <function MM_ColormapGL.__init__>, '__repr__': <function _swig_repr>, '__swig_destroy__': <built-in function delete_MM_ColormapGL>, 'getDefaultMap': <staticmethod object>, '__doc__': None, 'initColor': <instancemethod MM_ColormapGL_initColor>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
getIndex()¶
-
getName()¶
-
getRGBA()¶
-
getRange()¶
-
getSize()¶
-
initColor()¶
-
isValidIndex()¶
-
set()¶
-
-
class
schrodinger.utils.colorscheme.MM_ColorRamp(short_name: std::string const &, long_name: std::string const &, file_name: std::string const &)¶ Bases:
object-
thisown¶ The membership flag
-
__repr__()¶
-
__init__(short_name: std::string const &, long_name: std::string const &, file_name: std::string const &)¶ Initialize self. See help(type(self)) for accurate signature.
-
__swig_destroy__()¶
-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__repr__': <function _swig_repr>, '__init__': <function MM_ColorRamp.__init__>, '__swig_destroy__': <built-in function delete_MM_ColorRamp>, '__dict__': <attribute '__dict__' of 'MM_ColorRamp' objects>, '__weakref__': <attribute '__weakref__' of 'MM_ColorRamp' objects>, '__doc__': None, 'readColorRampFile': <instancemethod MM_ColorRamp_readColorRampFile>, 'getShortName': <instancemethod MM_ColorRamp_getShortName>, 'getLongName': <instancemethod MM_ColorRamp_getLongName>, 'getNumColors': <instancemethod MM_ColorRamp_getNumColors>, 'getFileName': <instancemethod MM_ColorRamp_getFileName>, 'getColorIndices': <instancemethod MM_ColorRamp_getColorIndices>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
getColorIndices()¶
-
getFileName()¶
-
getLongName()¶
-
getNumColors()¶
-
getShortName()¶
-
readColorRampFile()¶
-
-
class
schrodinger.utils.colorscheme.MM_ColorRampHolder(*args, **kwargs)¶ Bases:
object-
thisown¶ The membership flag
-
__init__(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
__repr__()¶
-
static
instance()¶
-
__swig_destroy__()¶
-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__init__': <function MM_ColorRampHolder.__init__>, '__repr__': <function _swig_repr>, 'instance': <staticmethod object>, '__swig_destroy__': <built-in function delete_MM_ColorRampHolder>, '__dict__': <attribute '__dict__' of 'MM_ColorRampHolder' objects>, '__weakref__': <attribute '__weakref__' of 'MM_ColorRampHolder' objects>, '__doc__': None, 'getNumRamps': <instancemethod MM_ColorRampHolder_getNumRamps>, 'getRampNames': <instancemethod MM_ColorRampHolder_getRampNames>, 'getNumColors': <instancemethod MM_ColorRampHolder_getNumColors>, 'getColorIndices': <instancemethod MM_ColorRampHolder_getColorIndices>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
getColorIndices()¶
-
getNumColors()¶
-
getNumRamps()¶
-
getRampNames()¶
-
-
class
schrodinger.utils.colorscheme.MM_CSchemeRule(color_name: std::string const &, asl_spec: std::string const &, scheme_name: std::string const &, description: std::string const &)¶ Bases:
object-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__repr__': <function _swig_repr>, '__init__': <function MM_CSchemeRule.__init__>, '__swig_destroy__': <built-in function delete_MM_CSchemeRule>, '__dict__': <attribute '__dict__' of 'MM_CSchemeRule' objects>, '__weakref__': <attribute '__weakref__' of 'MM_CSchemeRule' objects>, '__doc__': None, 'getColorName': <instancemethod MM_CSchemeRule_getColorName>, 'setColorName': <instancemethod MM_CSchemeRule_setColorName>, 'getColor': <instancemethod MM_CSchemeRule_getColor>, 'setColor': <instancemethod MM_CSchemeRule_setColor>, 'getASL': <instancemethod MM_CSchemeRule_getASL>, 'setASL': <instancemethod MM_CSchemeRule_setASL>, 'getDescription': <instancemethod MM_CSchemeRule_getDescription>, 'setDescription': <instancemethod MM_CSchemeRule_setDescription>, 'applyRule': <instancemethod MM_CSchemeRule_applyRule>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
applyRule()¶
-
getASL()¶
-
getColor()¶
-
getColorName()¶
-
getDescription()¶
-
setASL()¶
-
setColor()¶
-
setColorName()¶
-
setDescription()¶
-
thisown¶ The membership flag
-
__repr__()¶
-
__init__(color_name: std::string const &, asl_spec: std::string const &, scheme_name: std::string const &, description: std::string const &)¶ Initialize self. See help(type(self)) for accurate signature.
-
__swig_destroy__()¶
-
-
class
schrodinger.utils.colorscheme.MM_CScheme(short_name: std::string const &, long_name: std::string const &, original_name: std::string const &)¶ Bases:
object-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__repr__': <function _swig_repr>, '__init__': <function MM_CScheme.__init__>, '__swig_destroy__': <built-in function delete_MM_CScheme>, '__dict__': <attribute '__dict__' of 'MM_CScheme' objects>, '__weakref__': <attribute '__weakref__' of 'MM_CScheme' objects>, '__doc__': None, 'getFileName': <instancemethod MM_CScheme_getFileName>, 'setFileName': <instancemethod MM_CScheme_setFileName>, 'getShortName': <instancemethod MM_CScheme_getShortName>, 'setShortName': <instancemethod MM_CScheme_setShortName>, 'getLongName': <instancemethod MM_CScheme_getLongName>, 'setLongName': <instancemethod MM_CScheme_setLongName>, 'getOriginalName': <instancemethod MM_CScheme_getOriginalName>, 'setOriginalName': <instancemethod MM_CScheme_setOriginalName>, 'getDescription': <instancemethod MM_CScheme_getDescription>, 'setDescription': <instancemethod MM_CScheme_setDescription>, 'getRules': <instancemethod MM_CScheme_getRules>, 'setRules': <instancemethod MM_CScheme_setRules>, 'addRule': <instancemethod MM_CScheme_addRule>, 'clearRules': <instancemethod MM_CScheme_clearRules>, 'deleteFile': <instancemethod MM_CScheme_deleteFile>, 'writeFile': <instancemethod MM_CScheme_writeFile>, 'readRulesFromFile': <instancemethod MM_CScheme_readRulesFromFile>, 'applyScheme': <instancemethod MM_CScheme_applyScheme>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
addRule()¶
-
applyScheme()¶
-
clearRules()¶
-
deleteFile()¶
-
getDescription()¶
-
getFileName()¶
-
getLongName()¶
-
getOriginalName()¶
-
getRules()¶
-
getShortName()¶
-
readRulesFromFile()¶
-
setDescription()¶
-
setFileName()¶
-
setLongName()¶
-
setOriginalName()¶
-
setRules()¶
-
setShortName()¶
-
writeFile()¶
-
thisown¶ The membership flag
-
__repr__()¶
-
__init__(short_name: std::string const &, long_name: std::string const &, original_name: std::string const &)¶ Initialize self. See help(type(self)) for accurate signature.
-
__swig_destroy__()¶
-
-
class
schrodinger.utils.colorscheme.ColorSchemeManager(*args, **kwargs)¶ Bases:
object-
__class__¶ alias of
builtins.type
-
__delattr__¶ Implement delattr(self, name).
-
__dict__= mappingproxy({'__module__': 'schrodinger.utils.colorscheme', 'thisown': <property object>, '__init__': <function ColorSchemeManager.__init__>, '__repr__': <function _swig_repr>, 'instance': <staticmethod object>, '__swig_destroy__': <built-in function delete_ColorSchemeManager>, '__dict__': <attribute '__dict__' of 'ColorSchemeManager' objects>, '__weakref__': <attribute '__weakref__' of 'ColorSchemeManager' objects>, '__doc__': None, 'applyScheme': <instancemethod ColorSchemeManager_applyScheme>, 'applySchemeDescriptive': <instancemethod ColorSchemeManager_applySchemeDescriptive>, 'getCurrentSchemeDescription': <instancemethod ColorSchemeManager_getCurrentSchemeDescription>, 'getNumberOfColorSchemes': <instancemethod ColorSchemeManager_getNumberOfColorSchemes>, 'getColorSchemeName': <instancemethod ColorSchemeManager_getColorSchemeName>, 'getSubColorSchemeName': <instancemethod ColorSchemeManager_getSubColorSchemeName>, 'isSubColorSchemeName': <instancemethod ColorSchemeManager_isSubColorSchemeName>, 'getNumberOfSubColorSchemes': <instancemethod ColorSchemeManager_getNumberOfSubColorSchemes>, 'getTotalSubColorSchemes': <instancemethod ColorSchemeManager_getTotalSubColorSchemes>, 'getSubColorSchemeNamesList': <instancemethod ColorSchemeManager_getSubColorSchemeNamesList>, 'getSubColorSchemes': <instancemethod ColorSchemeManager_getSubColorSchemes>, 'isSchemeNameInUse': <instancemethod ColorSchemeManager_isSchemeNameInUse>, 'newColorScheme': <instancemethod ColorSchemeManager_newColorScheme>, 'getLigandColorSchemeByRGB': <instancemethod ColorSchemeManager_getLigandColorSchemeByRGB>, 'getCarbonColorSchemeByRGB': <instancemethod ColorSchemeManager_getCarbonColorSchemeByRGB>, 'resetColorSchemes': <instancemethod ColorSchemeManager_resetColorSchemes>, 'writeColorSchemeFile': <instancemethod ColorSchemeManager_writeColorSchemeFile>, 'readColorSchemeFile': <instancemethod ColorSchemeManager_readColorSchemeFile>, 'getNeedRebuildColorSchemes': <instancemethod ColorSchemeManager_getNeedRebuildColorSchemes>, 'setNeedRebuildColorSchemes': <instancemethod ColorSchemeManager_setNeedRebuildColorSchemes>, 'renameColorScheme': <instancemethod ColorSchemeManager_renameColorScheme>, 'isStandardColorScheme': <instancemethod ColorSchemeManager_isStandardColorScheme>, 'isCustomColorScheme': <instancemethod ColorSchemeManager_isCustomColorScheme>, 'isDynamicRGBColorScheme': <instancemethod ColorSchemeManager_isDynamicRGBColorScheme>, 'deleteColorScheme': <instancemethod ColorSchemeManager_deleteColorScheme>, 'copyColorScheme': <instancemethod ColorSchemeManager_copyColorScheme>, 'newColorSchemeRule': <instancemethod ColorSchemeManager_newColorSchemeRule>, 'copyColorSchemeRule': <instancemethod ColorSchemeManager_copyColorSchemeRule>, 'deleteColorSchemeRules': <instancemethod ColorSchemeManager_deleteColorSchemeRules>, 'resetAllColorSchemeRules': <instancemethod ColorSchemeManager_resetAllColorSchemeRules>, 'applyRampToColorSchemeRules': <instancemethod ColorSchemeManager_applyRampToColorSchemeRules>, 'setColorSchemeRuleASL': <instancemethod ColorSchemeManager_setColorSchemeRuleASL>, 'setColorSchemeRuleDescription': <instancemethod ColorSchemeManager_setColorSchemeRuleDescription>, 'setColorSchemeRuleColor': <instancemethod ColorSchemeManager_setColorSchemeRuleColor>, 'copyColorSchemeByObject': <instancemethod ColorSchemeManager_copyColorSchemeByObject>, 'saveCurrentColorScheme': <instancemethod ColorSchemeManager_saveCurrentColorScheme>, 'restoreCurrentColorScheme': <instancemethod ColorSchemeManager_restoreCurrentColorScheme>, 'isColorSchemeChanged': <instancemethod ColorSchemeManager_isColorSchemeChanged>, 'setColorSchemeChanged': <instancemethod ColorSchemeManager_setColorSchemeChanged>, 'reorderColorSchemes': <instancemethod ColorSchemeManager_reorderColorSchemes>, 'getCurrentColorScheme': <instancemethod ColorSchemeManager_getCurrentColorScheme>, 'setDefaultColorScheme': <instancemethod ColorSchemeManager_setDefaultColorScheme>, 'getCurrentColorSchemeName': <instancemethod ColorSchemeManager_getCurrentColorSchemeName>, 'setCurrentColorSchemeName': <instancemethod ColorSchemeManager_setCurrentColorSchemeName>, 'findColorSchemeByName': <instancemethod ColorSchemeManager_findColorSchemeByName>, 'findColorSchemeByDescription': <instancemethod ColorSchemeManager_findColorSchemeByDescription>})¶
-
__dir__() → list¶ default dir() implementation
-
__eq__¶ Return self==value.
-
__format__()¶ default object formatter
-
__ge__¶ Return self>=value.
-
__getattribute__¶ Return getattr(self, name).
-
__gt__¶ Return self>value.
-
__hash__¶ Return hash(self).
-
__init_subclass__()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__module__= 'schrodinger.utils.colorscheme'¶
-
__ne__¶ Return self!=value.
-
__new__()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ Implement setattr(self, name, value).
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶ Return str(self).
-
__subclasshook__()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__¶ list of weak references to the object (if defined)
-
applyRampToColorSchemeRules()¶
-
applyScheme()¶
-
applySchemeDescriptive()¶
-
copyColorScheme()¶
-
copyColorSchemeByObject()¶
-
copyColorSchemeRule()¶
-
deleteColorScheme()¶
-
deleteColorSchemeRules()¶
-
findColorSchemeByDescription()¶
-
findColorSchemeByName()¶
-
getCarbonColorSchemeByRGB()¶
-
getColorSchemeName()¶
-
getCurrentColorScheme()¶
-
getCurrentColorSchemeName()¶
-
getCurrentSchemeDescription()¶
-
getLigandColorSchemeByRGB()¶
-
getNeedRebuildColorSchemes()¶
-
getNumberOfColorSchemes()¶
-
getNumberOfSubColorSchemes()¶
-
getSubColorSchemeName()¶
-
getSubColorSchemeNamesList()¶
-
getSubColorSchemes()¶
-
getTotalSubColorSchemes()¶
-
isColorSchemeChanged()¶
-
isCustomColorScheme()¶
-
isDynamicRGBColorScheme()¶
-
isSchemeNameInUse()¶
-
isStandardColorScheme()¶
-
isSubColorSchemeName()¶
-
newColorScheme()¶
-
newColorSchemeRule()¶
-
readColorSchemeFile()¶
-
renameColorScheme()¶
-
reorderColorSchemes()¶
-
resetAllColorSchemeRules()¶
-
resetColorSchemes()¶
-
restoreCurrentColorScheme()¶
-
saveCurrentColorScheme()¶
-
setColorSchemeChanged()¶
-
setColorSchemeRuleASL()¶
-
setColorSchemeRuleColor()¶
-
setColorSchemeRuleDescription()¶
-
setCurrentColorSchemeName()¶
-
setDefaultColorScheme()¶
-
setNeedRebuildColorSchemes()¶
-
writeColorSchemeFile()¶
-
thisown¶ The membership flag
-
__init__(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
__repr__()¶
-
static
instance()¶
-
__swig_destroy__()¶
-