Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 62347bc

Browse files
committed
Divide ligand's VDW radii by voxelspacing
1 parent 4fc9b27 commit 62347bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

disvis/disvis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def _initialize(self):
136136
# Set ligand center to the origin of the grid and calculate the core
137137
# shape. The coordinates are wrapped around in the density.
138138
self._lgridcoor = (self.ligand.coor - self.ligand.center) / self.voxelspacing
139-
radii = self.ligand.vdw_radius
139+
radii = self.ligand.vdw_radius / self.voxelspacing
140140
self._lcore = np.zeros(self._shape, dtype=np.float64)
141141
dilate_points(self._lgridcoor, radii, self._lcore)
142142

0 commit comments

Comments
 (0)