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

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.

Ben Webb 2008-05-05