We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
It may be helpful to create these functions in a separate .py file.
The functions can be injected into the packaged Python module by adding CMake code after line 2 here:
ITKElastix/wrapping/CMakeLists.txt
Line 2 in 6a4dd1d
that reads the code from the file with CMake's file(READ [...].
file(READ [...]
https://cmake.org/cmake/help/latest/command/file.html
then adding the file's content to the ITK_WRAP_PYTHON_LIBRARY_IMPORTS variable. For example:
ITK_WRAP_PYTHON_LIBRARY_IMPORTS
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/extra_functions.py extra_functions) set(ITK_WRAP_PYTHON_LIBRARY_IMPORTS "${extra_functions}\n${ITK_WRAP_PYTHON_LIBRARY_IMPORTS}")
Sorry, something went wrong.
xref #82
temporary fix, still uses Disk IO, works fine
thewtex
ViktorvdValk
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: