next up previous contents index
Next: restraints.reindex() renumber Up: The restraints class: static Previous: restraints.add() add   Contents   Index

restraints.unpick() -- unselect restraints

unpick(*atom_ids)
This command scans the currently selected restraints to find all the restraints that operate on the specified atoms (Section 5.3.1) and then unselects them. The order of the atoms 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 restraints.condense(). The restraints.unpick() command is useful in specifying cis-peptide bonds in your own scripts; see cispeptide().

Example: See restraints.add() command.



Ben Webb 2008-02-01