Dear all,

 

I have installed nestml via conda and developed a code describing an LIF neuron with bi-exponential synaptic currents including NMDA, while the charge mediated by AMPA and NMDA receptors are not independent. When I try to compile the .nestml file, it gives me an error as:

 

from pynestml.frontend.pynestml_frontend import generate_nest_target

 

WARNING:root:PyGSL is not available. The stiffness test will be skipped.

WARNING:root:Error when importing: No module named 'pygsl'

 

In [2]: generate_nest_target(input_path="/home/hrezaei/neuron_model_NMDA.nestml",

   ...:                      target_path="/tmp/nestml-component",

   ...:                      logging_level="ERROR")

line 61:4 extraneous input 'end' expecting {DEDENT, 'function', 'state', 'parameters', 'internals', 'update', 'equations', 'input', 'output'}

line 63:4 extraneous input 'equations' expecting {<EOF>, NEWLINE, 'neuron', 'synapse'}

line 64:8 extraneous input '        ' expecting {<EOF>, NEWLINE, 'neuron', 'synapse'}

line 67:8 extraneous input 'kernel' expecting {<EOF>, NEWLINE, 'neuron', 'synapse'}

line 70:8 extraneous input 'kernel' expecting {<EOF>, NEWLINE, 'neuron', 'synapse'}

...

r"""Generate and build code for NEST Simulator.

Parameters

A dictionary containing additional options for the target code generator.

"""

I was wondering what the reason could be. I would appreciate it if you could help.

Thanks in advance.

 

Best,

Hedyeh