Skip to content

Commit 63ea031

Browse files
committed
point assignment should return a tuple of floats
1 parent 7356d42 commit 63ea031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

siibra/volumes/parcellationmap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ def _assign_points(self, points: pointcloud.PointCloud, lower_threshold: float)
10321032
assignments.append(
10331033
MapAssignment(
10341034
input_structure=pointindex,
1035-
centroid=tuple(np.array(position).round(2)),
1035+
centroid=tuple(position),
10361036
volume=vol,
10371037
fragment=frag,
10381038
map_value=value

0 commit comments

Comments
 (0)