Make sure that bonds connect two different particles.
With that patch applied, 'scons examples' fails with:
ERROR: The endpoints of a bond must be disjoint
Traceback (most recent call last):
File "chain.py", line 29, in <module>
b= IMP.custom_bond(bp, bpr, 1.5*radius, 10)
ValueError: The endpoints must be disjoint
examples FAILED
Ben
--
ben@salilab.orghttp://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle