SpikeInterface / spikeinterface-gui

GUI for spikeinterface objects
MIT License
21 stars 7 forks source link

Typo in Controller.py #46

Open maxjuv opened 1 year ago

maxjuv commented 1 year ago

Salut Sam,

I got the following error : File "d:\VK_LayerVI_sensory_neuralynx\script_analysis_neuralynx\mainviewer_sorting.py", line 24, in get_sigui_viewer win = spikeinterface_gui.MainWindow(we) File "D:\local_code_library\spikeinterface-gui\spikeinterface_gui\mainwindow.py", line 23, in init self.controller = SpikeinterfaceController(waveform_extractor, verbose=verbose) File "D:\local_code_library\spikeinterface-gui\spikeinterface_gui\controller.py", line 115, in init self.spikes['sampleindex'] = spikes['sample_ind'] ValueError: no field of name sample_ind

I changed all the "xxx_ind" into "xxx_index" in my local repo and it fixed the error Cheers