Skip to content

Commit

Permalink
no anisou lines in altloc dict for _evalAltlocs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Nov 2, 2023
1 parent 8ecba6a commit 7dba36d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions prody/proteins/pdbfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,11 +908,11 @@ def _parsePDBLines(atomgroup, lines, split, model, chain, subset,
anisou = np.zeros((alength, 6),
dtype=ATOMIC_FIELDS['anisou'].dtype)

alt = line[16]
if alt not in which_altlocs and which_altlocs != 'all':
altloc[alt].append((line, i))
i += 1
continue
# alt = line[16]
# if alt not in which_altlocs and which_altlocs != 'all':
# altloc[alt].append((line, i))
# i += 1
# continue
try:
index = acount - 1
anisou[index, 0] = line[28:35]
Expand Down

0 comments on commit 7dba36d

Please sign in to comment.