-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The executable from the Python library.
- Loading branch information
Showing
4 changed files
with
106 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include <string> | ||
|
||
// This file is generated from `ode.py`. | ||
// | ||
// During code-generation NMODL needs to call SymPy, e.g. to compute | ||
// derivatives symbolically. The code to do this can be found in `ode.py`. | ||
// | ||
// To avoid a dependency of the `nmodl` binary on the Python library `nmodl`. | ||
// We embed `ode.py` like this. | ||
// | ||
// However, because we want to be able to test `ode.py` via pytest we can't | ||
// move it here. | ||
|
||
namespace nmodl::pybind_wrappers { | ||
const std::string ode_py = R"jiowi( | ||
@NMODL_ODE_PY@ | ||
)jiowi"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters