Skip to content

Commit

Permalink
Add notImplementedError to unimplemented function in FibertubeDataVolume
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentBeaud committed Sep 5, 2024
1 parent 1005e1d commit 97dca72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scilpy/image/volume_space_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,10 @@ def is_coordinate_in_bound(self, x, y, z, space, origin):
self._validate_origin(origin)
return super().is_coordinate_in_bound(x, y, z, space, origin)

# TODO: Figure out how to validate origin within vox_to_idx
@staticmethod
def vox_to_idx(x, y, z, origin):
raise NotImplementedError("FibertubeDataVolume is not compatible "
"with vox_to_idx operation.")

def voxmm_to_idx(self, x, y, z, origin):
self._validate_origin(origin)
Expand Down

0 comments on commit 97dca72

Please sign in to comment.