Hi,
Yes, please share the generate call; I will improve the code so the error message is a bit more helpful and user-friendly here.
The thing is that to generate synapse code for the NEST target, NEST needs to know about two "special" parameters: weight and delay. This is because in principle, the weight (and delay) variable could be named anything in the NESTML model, such as "w" or "W" or "weight". To indicate this, please see this section in the documentation: https://nestml.readthedocs.io/en/latest/running/running_nest.html#dendritic-...
You can also find examples of this call in the NESTML tutorial notebooks on https://nestml.readthedocs.io/en/latest/tutorials/index.html#creating-synaps...
Much obliged, Charl
On Wed, Feb 12, 2025, at 14:33, Chris Huyck wrote:
It’s not in the simulation, but in the generate call to nestml. The static_synapse model is directly from your git page. Do you want the generate call (it’s the same thing I’ve been using since July, though I just tried it with logging). -Chris
*From:* Charl Linssen nest-users@turingbirds.com *Sent:* 12 February 2025 13:25 *To:* users@nest-simulator.org *Subject:* [NEST Users] Re: nestml doesn't work on synapse models
Hey Chris,
Thanks for writing in! Could you share your simulation script that you are using (the one that is generating the error)?
Much obliged, Charl
On Wed, Feb 12, 2025, at 11:48, Chris Huyck wrote:
I’ve got a new conda environment.
I compile nest (3.7) from a tarball and it runs.
I pip install pyNN
I pip install nestml (which now gives me nestml8.0.0. Is there some way to tell the version without just uninstalling it?)
The neuron models work. The synapse models fail to nestml
I tried my models, but went to the noisy_synapse and static_synapse models (from git)
Both fail in nest_code_generator.py line 267 (variables_special_cases = …)
Any thoughts about how to get synapses to work in nestml?
-Chris
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org