Skip to content
Snippets Groups Projects
Commit 796cafd8 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Avoiding deprecation warning.

parent 70c69739
No related branches found
No related tags found
No related merge requests found
......@@ -406,7 +406,7 @@ class ProbabilisticAtlas(Atlas):
location is out of bounds.
"""
voxelLoc = transform.transform([worldLoc], self.worldToVoxMat.T)[0]
voxelLoc = voxelLoc.round()
voxelLoc = [int(v) for v in voxelLoc.round()]
if voxelLoc[0] < 0 or \
voxelLoc[1] < 0 or \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment