Its a good check to add, already found a bug :-) Here is a patch for chain.py:
Attachment:
chain
Description: Binary data
On May 6, 2008, at 5:50 PM, Ben Webb wrote:
Daniel Russel wrote: ...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.org http://salilab.org/~ben/ "It is a capital mistake to theorize before one has data." - Sir Arthur Conan Doyle _______________________________________________ IMP-dev mailing list IMP-dev@salilab.org https://salilab.org/mailman/listinfo/imp-dev