Skip to content

Commit

Permalink
Merge pull request #15 from rbedi/master
Browse files Browse the repository at this point in the history
Divide ligand's VDW radii by voxelspacing
  • Loading branch information
amjjbonvin authored Aug 12, 2017
2 parents 4fc9b27 + 62347bc commit fe3a0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disvis/disvis.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _initialize(self):
# Set ligand center to the origin of the grid and calculate the core
# shape. The coordinates are wrapped around in the density.
self._lgridcoor = (self.ligand.coor - self.ligand.center) / self.voxelspacing
radii = self.ligand.vdw_radius
radii = self.ligand.vdw_radius / self.voxelspacing
self._lcore = np.zeros(self._shape, dtype=np.float64)
dilate_points(self._lgridcoor, radii, self._lcore)

Expand Down

0 comments on commit fe3a0f3

Please sign in to comment.