File tree Expand file tree Collapse file tree
src/Registration/Metricsv4/RegisterTwoPointSets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- itk >= 5.3rc4
1+ itk >= 5.3rc4.post2
22itkwidgets >= 1.0a3
33matplotlib
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ ExternalProject_Add(ITKPython
1717 DOWNLOAD_COMMAND ""
1818 CONFIGURE_COMMAND ${PYTHON_EXECUTABLE} -m venv "${_itk_venv} "
1919 BUILD_COMMAND ${ITKPYTHON_EXECUTABLE} -m pip install --upgrade pip
20- INSTALL_COMMAND ${ITKPYTHON_EXECUTABLE} -m pip install --ignore-installed itk>=5.3rc4 sphinx==4.4.0 docutils<0.18 six black nbsphinx ipython sphinx-contributors ipykernel matplotlib itkwidgets pydata-sphinx-theme
20+ INSTALL_COMMAND ${ITKPYTHON_EXECUTABLE} -m pip install --ignore-installed itk>=5.3rc4.post2 sphinx==4.4.0 docutils<0.18 six black nbsphinx ipython sphinx-contributors ipykernel matplotlib itkwidgets pydata-sphinx-theme
2121 COMMAND ${CMAKE_COMMAND } -P ${CMAKE_CURRENT_BINARY_DIR } /ITKBlackConfig.cmake
2222 )
Original file line number Diff line number Diff line change @@ -23,13 +23,11 @@ install(FILES Code.cxx Code.py CMakeLists.txt
2323enable_testing ()
2424add_test (NAME RegisterTwoPointSetsTest
2525 COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY } /${PROJECT_NAME} )
26-
26+
2727if (ITK_WRAP_PYTHON)
28- # TODO broken in itk v5.3rc03
29- # repaired after itk v5.3rc04
30- #add_test(NAME RegisterTwoPointSetsTest2DPython
31- # COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/Code.py 2
32- # )
33- #add_test(NAME RegisterTwoPointSetsTest3DPython
34- # COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/Code.py 3)
28+ add_test (NAME RegisterTwoPointSetsTest2DPython
29+ COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR } /Code.py 2
30+ )
31+ add_test (NAME RegisterTwoPointSetsTest3DPython
32+ COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR } /Code.py 3 )
3533endif ()
You can’t perform that action at this time.
0 commit comments