Skip to content

Commit

Permalink
update to latest vedo release (#331)
Browse files Browse the repository at this point in the history
* update to latest vedo release

* make test_slice match vedo
  • Loading branch information
alessandrofelder authored Feb 23, 2024
1 parent 4fbea92 commit aafb749
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
"pyyaml>=5.3",
"requests",
"tables",
"vedo>=2023.5.0",
"vedo==2024.5.1",
]

license = { text = "BSD-3-Clause" }
Expand Down
6 changes: 3 additions & 3 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aafb749

Please sign in to comment.