Skip to content

Commit

Permalink
Merge pull request #21 from jmcsally/scipy-update
Browse files Browse the repository at this point in the history
Update _binCluster for compatiability scipy
  • Loading branch information
lenhsherr authored Nov 11, 2022
2 parents 57a420f + db14fed commit 1283f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alphaspace2/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def _binCluster(coords, bin_size, bin_buffer_ratio=0.01, distance=5.4):
label = fcluster(zmat, distance, criterion='distance') - 1

tree = cKDTree(non_zero_cube_coord)
dist, ind = tree.query(coords, 1, n_jobs=1)
dist, ind = tree.query(coords, 1, workers=1)

pocket_label = label[ind]

Expand Down

0 comments on commit 1283f73

Please sign in to comment.