A mixin for marking constraints from the Scan or Optimization tabs.
Note that this mixin should not be directly applied to a panel. Instead,
the OptimizationTabMarkerMixin, ScanTabMarkerMixin, or
OptimizationAndScanMixin should be used.
|
setup(self)
Initialize self._selected_entries |
|
|
|
|
|
layOut(self)
Once setup is complete, properly initialize the selected entries for
the Scan and/or Optimization tabs |
|
|
|
|
|
clearConstraintsIfWorkspace(self,
what_changed)
Check to see if coordinate picking is allowed or if constraints need
to be cleared in response to a workspace change. |
|
|
|
clearConstraintsIfProject(self)
Check to see if coordinate picking is allowed or if constraints need
to be cleared in response to a project table change. |
|
|
|
_clearConstraintsStructureCheck(self)
Only allow coordinate picking if there is exactly one entry in the
workspace and it is also selected in the project table. |
|
|
tuple
|
_getSelectedEidsAndLength(self)
Retrieve the entry ids for the structures selected in the project
table (or included in the workspace, depending on the current Input
tab settings). |
|
|
|
|
|
_addCoordMarker(self,
atom_nums,
coordinate_type)
Add a marker to the specified atoms. |
|
|
tuple
|
|
tuple
|
|
tuple
|
_markerSettings(self)
Get the marker settings to use for newly added markers. |
|
|
dict
|
_getJaguarMarkerSettings(self,
num_atoms)
Get the marker settings to use for a newly added marker with the
specified number of atoms. |
|
|
dict
|
_applyMarkerSettings(self,
num_atoms,
alt_color,
colors,
icons)
Get the marker settings to use for a newly added marker with the
specified number of atoms. |
|
|
|
|
list
|
_getAtomsFromInts(self,
atom_nums)
Get the workspace atoms with the specified atom numbers |
|
|
|
|
|
|
|
stopPicking(self)
Stop atom picking in response to changing tabs |
|
|
Inherited from MarkerMixin :
showAllJaguarMarkers
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|