Closed afsp22 closed 1 year ago
Exactly the same problem here. Did you ever solve this?
Seems like various people run into this, see https://github.com/ccsb-scripps/AutoDock-Vina/issues/82 Maybe it is a numpy / python environment issue. Somebody reported to be able to run it via anaconda. I tried this as well with no luck
Fixed in #202. Thanks @domiko96 :+1:
Hi everyone! I'm trying to run an hydrated docking protocol. In the last step, I've to run dry.pt using the command: $ python dry.py -c -r protein.pdbqt -m protein.W.map -i ligand_HYDRO_protein.dlg
but I'm getting this error message:
File "dry.py", line 1184, in
grid = getmap(grid)
File "dry.py", line 690, in getmap
data = array(data, 'f').reshape(pts[2], pts[1], pts[0])
TypeError: 'float' object cannot be interpreted as an index
I tried to replace the pts[i] by int(pts[i]), but now I have a different error message:
File "dry.py", line 1194, in
harvest, affinity = getpoints(grid, coord(w), distance = 1.0) # angstroms
File "dry.py", line 739, in getpoints
harvesting.append( data[z,y,x] )
IndexError: index 41 is out of bounds for axis 0 with size 41
Can someone help me solve this issue? Thank you very much!