Skip to content
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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

pnbabu
Copy link
Contributor

@pnbabu pnbabu commented Aug 18, 2022

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

@pnbabu pnbabu marked this pull request as ready for review August 18, 2022 15:09
@pnbabu pnbabu requested a review from clinssen August 18, 2022 15:09
@jougs
Copy link
Contributor

jougs commented Oct 10, 2022

@jens-br

@babsey
Copy link

babsey commented Dec 9, 2022

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).
Thus, I will upgrade to Ubuntu 22.04 in next month and will report then when I am able to test it.

Copy link

@babsey babsey left a 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"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants