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 NEST Desktop target #802
base: master
Are you sure you want to change the base?
Conversation
I apologize for the long silence to react to this PR. Currently, I got somehow installation/compilation errors of NESTML on my machine (Ubuntu 20.04, Python 3.8). |
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.
LGTM! Only one suggestion.
I tested it in a conda environment with Python 3.9.
In IPython
I ran the commands:
from pynestml.frontend.pynestml_frontend import generate_target
generate_target(
input_path="/<path>/<to>/nestml/models/neurons/izhikevich.nestml",
logging_level="INFO",
target_path="/tmp/nestml-component",
target_platform="NEST_DESKTOP"
)
This PR adds NEST Desktop as a target platform to NESTML. The output of the code generator, in this case, will be a
.json
file containing the details of the neuron model file(s). These json files will be used by the NEST Desktop GUI to select models from a model repository and use them for further simulations.Note: A part of the documentation for adding new targets is borrowed from #729