-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tibial_cartilage_cropped test case in C++ and Python #80
base: main
Are you sure you want to change the base?
Conversation
wrapping/test/CMakeLists.txt
Outdated
EXPRESSION "filter = itk.CuberilleImageToMeshFilter.New()" | ||
) | ||
|
||
set(test_input_dir ${CMAKE_CURRENT_SOURCE_DIR}/../../test/Input) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@blowekamp I was unable to get ${itk-module}
from InsightSoftwareConsortium/ITK@7d50786 to work here. Is there a prettier way to construct this?
wrapping/test/CMakeLists.txt
Outdated
TEST_DRIVER_ARGS | ||
COMMAND cuberille_test.py | ||
DATA{${test_input_dir}/tibial_cartilage_cropped.nrrd} | ||
${ITK_TEST_OUTPUT_DIR}/tibial_cartilage_cropped.vtk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@blowekamp How to add module subdirectory here?
54d9f86
to
15ccc1d
Compare
@yehan0223 will look into this. |
It also produces an unstable number of points, and sometimes even cells (triangles).
The number of points is unstable, varying from 526 to 532.
This adds a an input which causes crash in Python, and generates an empty mesh in C++.