A mixin that receives updates from Scan and Optimization tabs when new
coordinate is added. It then checks whether this coordinate is defined as
both scan and constraints coordinate. If this is the case a warning is
shown
This mixin also ensures that constraints from both the Scan and
Optimization tabs are marked.
Classes that use this mixin must have both "Scan" and
"Optimization" tabs.
|
setup(self)
Connect the appropriate signals from Scan and Optimization tabs |
|
|
|
|
|
checkConstraintCoords(self,
atoms,
coordinate_type)
This function checks whether a given coordinate entity already exists
in constraint coordinates list. |
|
|
|
checkScanCoords(self,
atoms,
coordinate_type)
This function checks whether a given coordinate entity already exists
in scan coordinates list. |
|
|
|
resolveCoordsConflict(self,
atoms,
coordinate_type,
is_scan)
Shows dialog that prompts user to resolve conflict between scan and
constraint. |
|
|
|
|
|
_addCoordMarker(self,
atom_nums,
alt_color,
colors,
icons,
tab_name,
check_visibility=False)
Add a marker to the specified atoms using the specified settings |
|
|
|
_addScanMarker(self,
atom_nums,
check_visibility=False)
Add a Scan tab marker for the specified atoms |
|
|
|
_addOptimizationMarker(self,
atom_nums,
check_visibility=False)
Add an Optimization tab marker for the specified atoms |
|
|
|
|
|
|
|
stopPicking(self)
Stop atom picking in response to changing tabs |
|
|
Inherited from CoordinateMarkerMixin :
clearConstraintsIfProject ,
clearConstraintsIfWorkspace ,
layOut
Inherited from CoordinateMarkerMixin (private):
_addHighlighting ,
_applyMarkerSettings ,
_clearConstraintsStructureCheck ,
_connectInputTabSignals ,
_deleteCoordMarker ,
_getAtomsFromInts ,
_getJaguarMarkerSettings ,
_getSelectedEidsAndLength ,
_markerSettings ,
_optMarkerSettings ,
_removeHighlighting ,
_scanMarkerSettings
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|