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.



Automatic builds 2017-02-17