Skip to content

Commit

Permalink
Corrected altloc rules for polypeptide detection
Browse files Browse the repository at this point in the history
  • Loading branch information
nisse committed Oct 25, 2005
1 parent 339d126 commit 45afc89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bio/PDB/Polypeptide.py
Expand Up @@ -335,10 +335,10 @@ def _is_connected(self, prev, next):
for cc in clist:
# To form a peptide bond, N and C must be
# within radius and have the same altloc
# identifier
# identifier or one altloc blanc
n_altloc=nn.get_altloc()
c_altloc=cc.get_altloc()
if n_altloc==c_altloc:
if n_altloc==c_altloc or n_altloc==" " or c_altloc==" ":
if test_dist(nn, cc):
# Select the disordered atoms that
# are indeed bonded
Expand Down

0 comments on commit 45afc89

Please sign in to comment.