AllenInstitute / npc_sessions

Tools for accessing and packaging data from behavior and epyhys sessions from the Mindscope Neuropixels team, in the cloud.
1 stars 1 forks source link

Fix access to spike times (SpikeInterface 0.99) #73

Closed bjhardcastle closed 7 months ago

bjhardcastle commented 8 months ago

A recent update to SpikeInterface changed how spike times are stored: https://github.com/SpikeInterface/spikeinterface/blob/d48e970c24830c0349eeb56d55b1566deb310974/src/spikeinterface/core/sortingfolder.py#L12C39-L12C39

The file name and format changed, affecting these lines:

https://github.com/alleninstitute/npc_sessions/blob/main/src/npc_sessions/utils/spikeinterface.py#L191-L200

https://github.com/alleninstitute/npc_sessions/blob/main/src/npc_sessions/utils/units.py#L169-L172