dbbs-lab / bsb-neuron

NEURON simulation adapter for the BSB framework
GNU General Public License v3.0
0 stars 0 forks source link

AdapterError: no pop found for pre / post cell type #16

Open danilobenozzo opened 1 month ago

danilobenozzo commented 1 month ago

https://github.com/dbbs-lab/bsb-neuron/blob/6f9e5114e6dbad3010cb3a9c6750fc1089e83a3f/bsb_neuron/connection.py#L61C13-L61C71 @Helveg does this mean that each simdata must have at least one pre and post cell for each ConnectivitySet? If this is a requirement, it doesn't seem to be the case with small chunks split across many cores.

Helveg commented 1 month ago

It should at least contain an empty Population for that cell type.

danilobenozzo commented 1 month ago

Is this the correct way to create an empty Population of cell_model simdata.populations[cell_model] = NeuronPopulation(cell_model, []) ?

Helveg commented 1 month ago

I think so, yes