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

Fix to label atlas lookup - voxel coords not being cast to ints.

parent 93040c37
No related branches found
No related tags found
No related merge requests found
......@@ -415,7 +415,7 @@ class LabelAtlas(Atlas):
"""
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