klusta-team / spikedetekt2

10 stars 8 forks source link

Single spike in chgrp raises ZeroDivisionError #4

Closed c-wilson closed 9 years ago

c-wilson commented 10 years ago

If a channel group has only 1 spike, dataio.excerpt_step() raises a ZeroDivisionError when the main.save_features function is running.

I can't believe that this actually happened to me when testing.