Pull Request №762 RosettaCommons/rosetta/main ← lyskov-ai/rosetta/fix/duplicated-copy-paste-conditions
Merge: 0c38201cdcd83a9217d947a1604b4317f71c6831←375404062ef86004dfcfce5ea79ba16380ec9054
Fix copy/paste bugs in duplicated conditions
----------------
Merge commit message:
Delete unreachable duplicate PoseCoordPickMode_BB branch
xyzStripeHashPoseWithMeta::init_with_pose tested
PoseCoordPickMode_BB twice in the same if/else chain, so the second
branch could never run. Its body collects CA, C and CB, which matches no
value of PoseCoordPickMode -- N_CA_C and N_CA_C_CB both include N -- so
the intent behind it is not recoverable.
The surviving first branch is the correct one: it collects N, CA, C, O
and CB, matching both the natom counting loop above it and the
canonical case PoseCoordPickMode_BB in core/pose/xyzStripeHashPose.cc.
Removing dead code, no behaviour change.