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

lDDT: bugfix

parent 69385c44
No related branches found
No related tags found
No related merge requests found
......@@ -1041,6 +1041,11 @@ class lDDTScorer:
mask_start.extend([r_start_idx] * n_valid_atoms)
mask_end.extend([r_start_idx + n_valid_atoms] * n_valid_atoms)
r_start_idx += n_valid_atoms
if len(pos_list) == 0:
# nothing to do...
continue
pos = np.vstack(pos_list)
atom_indices = np.asarray(atom_indices)
dists = cdist(pos, pos)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment