next up previous contents index
Next: selection.by_residue() make Up: The selection class: handling Previous: selection.add() add   Contents   Index

selection.extend_by_residue() -- extend selection by residue

extend_by_residue(extension)
This returns a new selection, in which any residues in the existing selection that have at least one selected atom are now entirely selected. Additionally, extension residues around each selected residue are also selected. The original selection is unchanged.



Automatic builds 2008-10-07