next up previous contents index
Next: model.restraints.reindex() renumber Up: Calculation of spatial restraints Previous: model.restraints.add() add   Contents   Index

model.restraints.unpick() -- unselect restraint

atom_ids = <str:0> '' atom ids: 'atom:residue_id[:chain_id]'

Description:
This command scans the currently selected restraints to find all the restraints that operate on the specified atoms (Section 4.7.1) and then unselects them. The order of the atom names in atom_ids does not matter: All restraints that contain all and only the specified atoms are unselected. This means that it is not possible to distinguish between the dihedral angle and improper dihedral angle restraints on the same four atoms.

The command only unselects the restraints found. To completely remove all the unselected restraints from memory, use model.restraints.condense(). The model.restraints.unpick() command is useful in specifying cis-peptide bonds in your own scripts.

Example: See model.restraints.add() command.



Ben Webb 2006-02-28