bmtk
bmtk copied to clipboard
VirtualCell set_stim fails when spikes is a list
Depending on the spike train buffer, the spikes may be a list instead of a numpy array. This leads the line assert(np.all(spikes >= 0))
to fail because you cannot compare a list with an integer.