Define a Maestro color scheme.
|
|
__init__(self,
name='element',
color_asl_list=[])
Create ColorScheme object |
|
|
|
|
add(self,
color_str,
asl,
rule_description='')
Add another set of rules to this color scheme. |
|
|
|
|
__iter__(self)
Iterate over all entries in this scheme. |
|
|
|
|
__len__(self)
Return the number of rules in the scheme |
|
|
|
|
copy(self)
Return a copy of this scheme. |
|
|
|
|
apply(self,
st,
atoms=None)
Applies the scheme to the specified Structure <st>. |
|
|
|
|
writeSchemeFile(self,
filename)
Write the scheme to the specified *.sch file. |
|
|
|
Inherited from utils.colorscheme.MM_CScheme:
__repr__,
__swig_destroy__,
addRule,
applyScheme,
clearRules,
deleteFile,
getDescription,
getFileName,
getLongName,
getOriginalName,
getRules,
getShortName,
readRulesFromFile,
setDescription,
setFileName,
setLongName,
setOriginalName,
setRules,
setShortName,
writeFile
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|