Hello. I've recently resumed using NEURON for the first time in about 5 years. I have not previously used it in conjunction with python, so please excuse my naivety. I am attempting to run the L5PC simulation published by Beniaguev et al. (Neuron, 2021) and provided online here: https://github.com/SelfishGene/neuron_a ... simulation
I believe I have set up everything correctly (and modified simulate_L5PC_and_create_dataset.py as needed). My problem is that the initialization of NetCon events via
Code: Select all
fih = h.FInitializeHandler(AddAllSynapticEvents)
does not seem to do anything. AddAllSynapticEvents is a simple function (nested for loop) that initiates NetCon events at times and sections specified by predefined arrays. That is, the custom mechanisms that should add excitatory and inhibitory currents to the dendrites are completely ignored. On the other hand, if I use the exact same code with a built-in mechanism like ExpSyn (in place of the custom mechamisms), the events are added at the expected times and sections.
The problem seems to be specific to my local installation, since I can successfully run the simulation with the custom mechanisms in a Google Colab session (without changing the python script). I am currently running Monterey on a mac, python 3.7, and neuron 8.1.
I realize that this is not a problem that would be straightforward for someone else to solve, but I was hoping that someone might suggest some trouble-shooting strategies or known/related issues I might investigate further.