Skip to content
Snippets Groups Projects
Commit 7899f5fb authored by Studer Gabriel's avatar Studer Gabriel
Browse files

lddt: bugfix only affecting per-atom lDDT scores

Potentially triggers an error though
parent 5e3b4667
No related branches found
No related tags found
No related merge requests found
...@@ -682,7 +682,7 @@ class lDDTScorer: ...@@ -682,7 +682,7 @@ class lDDTScorer:
r = residues[res_indices[i]] r = residues[res_indices[i]]
r_idx = ref_res_indices[i] r_idx = ref_res_indices[i]
res_start_idx = self.res_start_indices[r_idx] res_start_idx = self.res_start_indices[r_idx]
anames = self.compound_anames[r.GetName()] anames = self.compound_anames[self.compound_names[r_idx]]
for a_i in indices: for a_i in indices:
a = r.FindAtom(anames[a_i - res_start_idx]) a = r.FindAtom(anames[a_i - res_start_idx])
assert(a.IsValid()) assert(a.IsValid())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment