Skip to content

Commit 6e9b6b9

Browse files
committed
Generate gpf with all atoms
1 parent a5d6f34 commit 6e9b6b9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

autodock/protocols/protocol_autoLigand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def generateGridStep(self):
158158
npts = (radius * 2) / self.spacing.get()
159159

160160
makePath(outDir)
161-
gpfFile = generate_gpf(self.getReceptorPDBQT(), spacing=self.spacing.get(),
161+
gpfFile = generate_gpf(self.getReceptorPDBQT(), spacing=self.spacing.get(), allDefAtomTypes=True,
162162
xc=xCenter, yc=yCenter, zc=zCenter,
163163
npts=npts, outDir=outDir)
164164

autodock/protocols/protocol_autodock_score.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def generateGridsStep(self):
118118
makePath(outDir)
119119

120120
npts = (radius * 2) / self.spacing.get()
121-
gpf_file = generate_gpf(fnReceptor, spacing=self.spacing.get(),
121+
gpf_file = generate_gpf(fnReceptor, spacing=self.spacing.get(), allDefAtomTypes=True,
122122
xc=x_center, yc=y_center, zc=z_center,
123123
npts=npts, outDir=outDir, ligandFns=self.ligandFileNames)
124124

autodock/protocols/protocol_dock_vina.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def dockStep(self, it, pocket=None):
110110

111111
znFFfile = autodockPlugin.getPackagePath(package='VINA', path='AutoDock-Vina/data/AD4Zn.dat') \
112112
if self.doZnDock.get() else None
113-
gpfFile = generate_gpf(fnReceptor, spacing=spacing,
113+
gpfFile = generate_gpf(fnReceptor, spacing=spacing, allDefAtomTypes=True,
114114
xc=xCenter, yc=yCenter, zc=zCenter,
115115
npts=npts, outDir=outDir, ligandFns=pdbqtFiles, znFFfile=znFFfile)
116116

autodock/protocols/protocol_generate_grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def prepareGrid(self):
119119
# Create the GPF file, required by autogrid to build the grid and glg
120120
npts = (self.radius.get()*2)/self.spacing.get() # x,y,z points of the grid
121121

122-
gpfFile = generate_gpf(atomStructFn, spacing=self.spacing.get(),
122+
gpfFile = generate_gpf(atomStructFn, spacing=self.spacing.get(), allDefAtomTypes=True,
123123
xc=xCenter, yc=yCenter, zc=zCenter,
124124
npts=npts, outDir=self._getExtraPath())
125125

0 commit comments

Comments
 (0)