next up previous contents index
Next: selection.select_sphere() select Up: The selection class: handling Previous: selection.extend_by_residue() extend   Contents   Index

selection.by_residue() -- make sure all residues are fully selected

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. The original selection is unchanged.



Ben Webb 2008-05-05