next up previous contents index
Next: The group_restraints class: restraints Up: Calculation of spatial restraints Previous: model.restraints.append() read   Contents   Index

model.restraints.write() -- write spatial restraints

file = <str:1> 'default' partial or complete filename
output_directory = <str:1> '' output directory
restraints_format = <str:1> 'MODELLER' format of the restraints file: 'MODELLER' | 'USER'

Description:
This command writes the currently selected restraints to a file in either the MODELLER or USER format, as selected by restraints_format (see Section 4.7). Both formats can be read with the model.restraints.append() command.

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



Ben Webb 2005-06-20