next up previous contents index
Next: Restraints.write() write Up: The Restraints class: static Previous: Restraints.spline() approximate   Contents   Index

Restraints.append() -- read spatial restraints

append(file)
This command reads restraints, excluded atom pairs, and pseudo atom definitions from a file. An excluded atom pair specifies two atoms that are not to be tested during generation of the dynamic non-bonded pair list. There is one restraint entry per line. The new restraints are added to those that are already in memory; if you want to replace them, call Restraints.clear() first. All the new restraints are automatically selected.

file can be a filename or a readable file handle (see modfile.File()).

Example: See Restraints.make() command.



Automatic builds 2014-02-11