We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f75a28c commit 5c7d688Copy full SHA for 5c7d688
siibra/volumes/volume.py
@@ -208,7 +208,7 @@ def fetch(
208
tmplt_bbox = voi.space.get_template().boundingbox
209
intersection_bbox = voi.intersection(tmplt_bbox)
210
if intersection_bbox is None:
211
- raise RuntimeError(f"{voi=} provided lies out side the voxel space of the {voi.space.name} template.")
+ raise RuntimeError(f"voi provided ({voi}) lies out side the voxel space of the {voi.space.name} template.")
212
if intersection_bbox.minpoint != voi.minpoint or intersection_bbox.maxpoint != voi.maxpoint:
213
logger.info(
214
f"Since provided voi lies outside the template ({voi.space}) it is clipped as: {intersection_bbox}"
0 commit comments