Pull Request №22 RosettaCommons/rosetta/main ← roccomoretti/rosetta/cart_bonded_upper_fix
Merge: 801ac8afed6e34aa04ae902e835779872ed64f3b←49bbd52b5e4e55f47c1796a923aa4c9ddf173bc1
Fix issue with CartesianBondedEnergy.
----------------
Merge commit message:
Fix issue with CartesianBondedEnergy.
Calling rsd1.upper_connect() is not well formed if the residue is not an upper connection.
CartesianBondedEnergy makes the assumption that if you're not an upper terminus, you have an upper connect.
This isn't always the case with more esoteric residues. But if we combine with the is-protein check that is being done anyway,
we can avoid the majority of the cases where this may be a problem.