Skip to content

Commit

Permalink
add back removed setAnisous
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Nov 3, 2023
1 parent 38e7f9d commit e30fab9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prody/proteins/pdbfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,9 @@ def _parsePDBLines(atomgroup, lines, split, model, chain, subset,
atomgroup.setElements(np.char.strip(elements))
from prody.utilities.misctools import getMasses
atomgroup.setMasses(getMasses(np.char.strip(elements)))
if anisou is not None:
anisou.resize((acount, 6), refcheck=False)
atomgroup.setAnisous(anisou / 10000)
if siguij is not None:
siguij.resize((acount, 6), refcheck=False)
atomgroup.setAnistds(siguij / 10000)
Expand Down

0 comments on commit e30fab9

Please sign in to comment.