NeuralEnsemble / PyNN

A Python package for simulator-independent specification of neuronal network models.
Other
276 stars 126 forks source link

Sonata: populations' labels not set accordingly #660

Closed stefanonardo closed 4 years ago

stefanonardo commented 4 years ago

In method to_population() of a NodeGroup, we set the label as the node_group_id. However, the latter is imported as a Numpy integer and it won't be automatically casted to a string. Because of this, the populations are always set with the default label (auto-incremental). We need to explicitly cast id to string.