mirror of
https://github.com/gcorso/DiffDock.git
synced 2026-06-04 09:54:21 +08:00
Merge pull request #241 from bamattsson/fixing_bug_in_atom_preprocessing
Fixing bug leading to atom graph containing a lot of incorrect atoms
This commit is contained in:
@@ -61,7 +61,7 @@ def batch_compute_dihedral_angles(sidechains):
|
||||
|
||||
def get_coords(prody_pdb):
|
||||
resindices = sorted(set(prody_pdb.ca.getResindices()))
|
||||
coords = np.zeros((len(resindices), 14, 3))
|
||||
coords = np.full((len(resindices), 14, 3), np.nan)
|
||||
for i, resind in enumerate(resindices):
|
||||
sel = prody_pdb.select(f'resindex {resind}')
|
||||
resname = sel.getResnames()[0]
|
||||
|
||||
Reference in New Issue
Block a user