We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Volume.evaluate_points
1 parent d075d35 commit 7121c95Copy full SHA for 7121c95
siibra/volumes/volume.py
@@ -253,9 +253,8 @@ def evaluate_points(
253
raise NotImplementedError("Filtering of points by pure mesh volumes not yet implemented.")
254
255
# make sure the points are in the same physical space as this volume
256
- warped = (
257
- pointset.from_points([points]) if isinstance(points, point.Point) else points
258
- ).warp(self.space)
+ as_pointset = pointset.from_points([points]) if isinstance(points, point.Point) else points
+ warped = as_pointset.warp(self.space)
259
assert warped is not None, SpaceWarpingFailedError
260
261
# get the voxel array of this volume
0 commit comments