A mixin for adding pharmacophore feature markers and controlling their
visibility.
|
__init__(self,
*args,
**kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
|
_workspaceDrawCallback(self)
Called by Maestro when Workspace needs to be drawn. |
|
|
|
closeEvent(self,
event)
Remove all features when the panel is closed. |
|
|
bool
|
featureExists(self,
entry_id)
This function checks whether pharmacophore features exist for a
structure with a given entry_id and returns True or False. |
|
|
list
|
addStructureFeatures(self,
st,
fds,
entry_id,
selection=[ ] )
Add all pharmacophore feature markers for a given structure. |
|
|
|
addSites(self,
sites,
entry_id,
selection)
Add pharmacophore features for given sites. |
|
|
|
addFeature(self,
sites,
feature_name,
color,
selected,
entry_id)
Add pharmacophore feature marker. |
|
|
tuple
|
getFeature(self,
feature_name,
entry_id)
Retrieve markers for the specified feature. |
|
|
list
|
getFeatureNames(self,
entry_id)
Get list of feature names that were found for the structure with a
given entry id. |
|
|
list of ints
|
|
|
_updateFeatures(self)
Show or hide features for entries that are included or excluded in
the workspace. |
|
|
|
removeFeature(self,
feature_name,
entry_id)
Removes markers for the specified pharmacophore feature. |
|
|
|
removeAllFeatures(self)
Removes markers for all pharmacophore features. |
|
|
|
|
|
showFeature(self,
feature_name,
entry_id)
Show markers for the specified pharmacophore feature. |
|
|
|
showAllFeatures(self)
Shows markers for all pharmacophore features. |
|
|
|
|
|
|
|
hideFeature(self,
feature_name,
entry_id)
Hide markers for the specified pharmacophore feature. |
|
|
|
hideAllFeatures(self)
Hide markers for all pharmacophore features. |
|
|
|
|
|
|
|
hasXvol(self,
entry_id)
Checks whether excluded volume markers for a given entry ID exist. |
|
|
|
removeXvol(self,
entry_id)
Removes all excluded volume markers for a given entry. |
|
|
|
addXvol(self,
entry_id,
x_vol)
Adds excluded volume markers for a given entry ID. |
|
|
|
_genFeatureKey(self,
feature_name,
entry_id)
Create a unique feature key. |
|
|
list
|
_getKeysForEntry(self,
entry_id)
Get a list of all feature keys for a given entry id. |
|
|
set
|
_getEntryIDs(self)
Get a list of unique entry ids that feature markers stored in this
mixin are associated with. |
|
|
|
_genFeatureName(self,
feature_type,
feature_num)
Generate feature name that starts with the one letter feature type
and followed by the feature number. |
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|