LorenFrankLab/spyglass

Bug in Spikesorting v0 curation

Closed this issue · 0 comments

https://github.com/LorenFrankLab/spyglass/blame/35335fbc339d1b7fbfb64bc54947a7bcbf31ad62/src/spyglass/spikesorting/v0/spikesorting_curation.py#L516

Problem:
This line got moved up to log the times needed for file creation. Adding the analysis_file_name to the key here causes the load of waveforms to fail because the waveform has a different unique name for its analysis_file_name

Solution:
Don't alter the key until after fetching needed data for make