bmtk icon indicating copy to clipboard operation
bmtk copied to clipboard

VirtualCell set_stim fails when spikes is a list

Open aaberbach opened this issue 3 years ago • 0 comments

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.

aaberbach avatar Mar 10 '21 16:03 aaberbach