Skip to content

Commit 1283f73

Browse files
authored
Merge pull request #21 from jmcsally/scipy-update
Update _binCluster for compatiability scipy
2 parents 57a420f + db14fed commit 1283f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alphaspace2/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def _binCluster(coords, bin_size, bin_buffer_ratio=0.01, distance=5.4):
515515
label = fcluster(zmat, distance, criterion='distance') - 1
516516

517517
tree = cKDTree(non_zero_cube_coord)
518-
dist, ind = tree.query(coords, 1, n_jobs=1)
518+
dist, ind = tree.query(coords, 1, workers=1)
519519

520520
pocket_label = label[ind]
521521

0 commit comments

Comments
 (0)