From aafb749f81604de2f780da155f61d72a096091db Mon Sep 17 00:00:00 2001 From: Alessandro Felder Date: Fri, 23 Feb 2024 13:10:32 +0000 Subject: [PATCH] update to latest vedo release (#331) * update to latest vedo release * make test_slice match vedo --- pyproject.toml | 2 +- tests/test_integration.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 39e657ec..18647d72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [ "pyyaml>=5.3", "requests", "tables", - "vedo>=2023.5.0", + "vedo==2024.5.1", ] license = { text = "BSD-3-Clause" } diff --git a/tests/test_integration.py b/tests/test_integration.py index bcbd1e4b..d4de5417 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -295,9 +295,9 @@ def test_slice(scene): scene.slice(plane, actors=[ca1]) scene.render(interactive=False) - assert th_clone.bounds() == th.bounds() - assert mos_clone.bounds() != mos.bounds() - assert ca1_clone.bounds() != ca1.bounds() + assert np.all(th_clone.bounds() == th.bounds()) + assert np.all(mos_clone.bounds() != mos.bounds()) + assert np.all(ca1_clone.bounds() != ca1.bounds()) @pytest.mark.slow