Next: delete-all-extra-restraints, Previous: does-residue-exist-p, Up: Regularization and Refinement
Where:
- imol is an integer number
- chain_id_1 is a string
- res_no_1 is an integer number
- ins_code_1 is a string
- atom_name_1 is a string
- alt_conf_1 is a string
- chain_id_2 is a string
- res_no_2 is an integer number
- ins_code_2 is a string
- atom_name_2 is a string
- alt_conf_2 is a string
- bond_dist is a number
- esd is a number
add a user-define bond restraint
this extra restraint is used when the given atoms are selected in refinement or regularization.
Returns: the index of the new restraint.
Returns: -1 when the atoms were not found and no extra bond restraint was stored.