Skip to content

Commit

Permalink
[ci:usecfg] enh_use_precalc_img_bboxes
Browse files Browse the repository at this point in the history
do not set max_bytes or resolution_mm
  • Loading branch information
xgui3783 committed Oct 25, 2024
1 parent 6590d36 commit 4c9ea85
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions e2e/volumes/test_preconfigured_boundingbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,5 @@ def test_onthefly_and_preconfig_bboxes(volume: Volume, clip_flag: bool):
pytest.skip(f"No preconfigured BoundingBox for {volume} is found. ")
volume._boundingbox = None
kwargs = {"clip": clip_flag}
if "neuroglancer/precomputed" in volume.providers:
kwargs.update(
{
"resolution_mm": -1,
"format": "neuroglancer/precomputed",
"max_bytes": 2 * 1024**3,
}
)
bbox = volume.get_boundingbox(**kwargs)
assert configured_bbox == bbox, f" {volume}"

0 comments on commit 4c9ea85

Please sign in to comment.