Deleting residue one produces a segmentation fault

Member Site Forums PyRosetta PyRosetta – General Deleting residue one produces a segmentation fault

Viewing 1 reply thread
  • Author
    Posts
    • #950
      Anonymous

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

      • #5784
        Anonymous

          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.

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.