Merge pull request #2169 from RosettaCommons/vmullig/fix_zerolength_bug
Fixing an error in Conformation::rebuild_polymer_bond_dependent_atoms
Fixing an error in Conformation::rebuild_polymer_bond_dependent_atoms() in the edge case that this function is called on an open terminus. (This was creating problems with using the DeclareBond mover to create terminal disulfide bonds).
@csykang : This should fix the problem with your script, and allow you to build disulfide-cyclized peptides without extra tail glycine residues.