A general class for ASL expression support.
Marked as private because it will probably be moved or removed.
|
__init__(self,
st,
asl_expr='all') |
|
|
|
updateSelection(self)
A method to allow updating the selection for a modified structure. |
|
|
|
_setSelection(self)
Set the current selection atoms. |
|
|
|
asl_expr(self)
atom selection expression |
|
|
|
_setAslExpr(self,
asl_expr)
Set the ASL expression and update the selection. |
|
|
|
|
|
|
|
|
|
__iter__(self)
Iterate over selected atoms, returning _StructureAtom instances. |
|
|
|
__getitem__(self,
n)
Get item 'n' (as a _StructureAtom instance) from the selected atoms. |
|
|
|
__len__(self)
Return the number of atoms in the selection. |
|
|