Expose global_properties in Python recipes (#1273)
Extend Ptyhon recipe wrapper to support setting of global cell properties. * Rename `pyrecipe::get_probes` to `py_recipe::probes` * Remove `global_properties_shim` : It's easy to make mistakes with the class, as it holds a `mechanism_catalogue` and a `cable_cell_global_properties` which holds a pointer to the catalogue. This would likely have caused issues with the users. * Expose `py_recipe::global_properties`
Showing
- doc/python/recipe.rst 12 additions, 1 deletiondoc/python/recipe.rst
- python/cells.cpp 27 additions, 26 deletionspython/cells.cpp
- python/cells.hpp 0 additions, 17 deletionspython/cells.hpp
- python/example/network_ring.py 7 additions, 1 deletionpython/example/network_ring.py
- python/example/single_cell_recipe.py 7 additions, 1 deletionpython/example/single_cell_recipe.py
- python/mechanism.cpp 1 addition, 1 deletionpython/mechanism.cpp
- python/recipe.cpp 25 additions, 3 deletionspython/recipe.cpp
- python/recipe.hpp 12 additions, 13 deletionspython/recipe.hpp
- python/single_cell_model.cpp 7 additions, 7 deletionspython/single_cell_model.cpp
- python/test/unit/test_cable_probes.py 8 additions, 1 deletionpython/test/unit/test_cable_probes.py
- python/test/unit/test_simulator.py 8 additions, 2 deletionspython/test/unit/test_simulator.py
- python/test/unit_distributed/test_simulator.py 7 additions, 2 deletionspython/test/unit_distributed/test_simulator.py
Please register or sign in to comment