On 3/14/14, 6:35 PM, harianto tjong wrote: > But when I add at the end of the code: > m.remove_restraint(r) > then it will be Segmentation fault.
Sounds like a bug to me - we'll investigate. I've opened an issue for it at https://github.com/salilab/imp/issues/767 - you can follow that to see the resolution.
Ben