[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] More minor patches



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
--
                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle
_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev