Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
fix for nmr models
Browse files Browse the repository at this point in the history
  • Loading branch information
Coos Baakman committed Dec 11, 2023
1 parent dc7601e commit 6c6b072
Show file tree
Hide file tree
Showing 3 changed files with 2,823 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deeprank/operate/pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_atoms(pdb2sql):
# Iterate over the atom output from pdb2sql, select atoms with highest occupancy.
request_s = "x,y,z,rowID,name,element,chainID,resSeq,resName,iCode,altLoc,occ"
highest_occupancies = {}
for row in pdb2sql.get(request_s):
for row in pdb2sql.get(request_s, model=0):

try:
x, y, z, atom_number, atom_name, element, chain_id, residue_number, residue_name, insertion_code, altloc, occ = row
Expand Down
Loading

0 comments on commit 6c6b072

Please sign in to comment.