Hi.
I have used your code, for the past year, without issues.
Now I'm trying to make a small scale network using PyNeuron-Toolbox to load the morphology of a model. I can correctly simulate, stimulate and record the cell in the network, but when i define it as a target for other cells, NEURONS replayed with a "NoneType".
I have tried the same code with another model, with a "built in" morphology, and everything is fine.
cell = self, which is critical, is present. Maybe defining self.soma[0] causes the issue but i cannot change it back to a classic self.soma.