You are here

Deleting residue one produces a segmentation fault

2 posts / 0 new
Last post
Deleting residue one produces a segmentation fault
#1

On my system, the command
pose.delete_polymer_residue(i)
produces a segmentation fault if i = 1, but not otherwise.

Post Situation: 
Thu, 2011-06-16 07:02
rfschleif

The fold and atom tree machinery are MUCH better at adding things than deleting them; usually one throws out the pose when you're done with it rather than try trimming it.

Look into the conformation object instead of the pose object (pose.conformation()). It should have a bunch of things like delete_residue_slow which are probably smarter and can handle deleting the root of the atom tree.

Fri, 2011-06-17 13:26
smlewis