haesleinhuepf / napari-process-points-and-surfaces

Process and analyze surfaces using vedo in napari.
BSD 3-Clause "New" or "Revised" License
21 stars 4 forks source link

WIP: Fix subdivide functions #59

Open haesleinhuepf opened 1 year ago

haesleinhuepf commented 1 year ago

Fixing the tests in this branch closes #57 . Before merging, remove the _ at the beginning of the three _subdivide functions.

Just run

pytest

Output (excerpt):

=============================================== short test summary info ===============================================
FAILED napari_process_points_and_surfaces/_tests/test_vedo_functions.py::test_subdivide_loop_vedo - assert 3324 < 0
FAILED napari_process_points_and_surfaces/_tests/test_vedo_functions.py::test_subdivide_butterfly - assert 3324 < 0
FAILED napari_process_points_and_surfaces/_tests/test_vedo_functions.py::test_subdivide_linear - assert 3324 < 0
===================================== 3 failed, 16 passed, 216 warnings in 20.56s =====================================