Hello Shavika,

Thank you for writing in! We updated the NESTML to a pre-release version: https://github.com/nest/nestml/tree/v8.0.0-rc3

Could you please install this in the docker container and try again? You can install it with the command "pip install NESTML==8.0.0rc3”. 

Regards,
Pooja

On 25. Nov 2024, at 06:04, Shavika Rastogi <rastogi.shavika@gmail.com> wrote:

Hello everyone, 

I am Shavika Rastogi, a PhD student at the International Centre for Neuromorphic Systems, Western Sydney University, Australia. I currently use NEST and NESTML to write and test any arbitrary neuron model. Before writing my own neuron model, I wanted to test neuron models already existing in NESTML. I am using NEST and NESTML using docker. 


I am running the Izhikevich tutorial available in the documentation (https://nestml.readthedocs.io/en/latest/tutorials/izhikevich/nestml_izhikevich_tutorial.html).  As per this tutorial, we can generate and build code using the following statement :
"module_name,neuron_model_name=NESTCodeGeneratorUtils.generate_code_for("izhikevich_solution.nestml")"

When I am using this function, I get the following error :

"AttributeError: 'NESTCodeGeneratorUtils' object has no attribute 'generate_code_for'"

Does anyone know whether the generate_code_for() function exists in the NESTCodeGeneratorUtils package? If not, what could be the alternative function we can use for generating and building neuron models ?


Thanks in advance.

With Warm Regards
Shavika Rastogi, Research Scholar (Dual Award PhD)
International Centre for Neuromorphic Systems
The MARCS Institute of Brain, Behaviour and Development
Western Sydney University
Sydney, Australia
&
Biocomputation Research Group
University of Hertfordshire, UK


_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org