Swan (Sequential Waveform Analyzer) is an open-source graphical tool for tracking single units across multiple sessions of electrophysiological data that was recorded using chronically implanted microelectrode arrays.
Traceback (most recent call last):
File "/home/shashwat/PycharmProjects/swan/swan/main.py", line 254, in on_action_new_project_triggered
if success and self.do_channel(self._my_storage.get_channel(), self._my_storage.get_last_channel()):
File "/home/shashwat/PycharmProjects/swan/swan/main.py", line 679, in do_channel
self.plot_all()
File "/home/shashwat/PycharmProjects/swan/swan/main.py", line 725, in plot_all
self.virtual_units_view.do_plot(vum_all, data)
File "/home/shashwat/PycharmProjects/swan/swan/views/virtual_units_view.py", line 158, in do_plot
self.update_plot()
File "/home/shashwat/PycharmProjects/swan/swan/views/virtual_units_view.py", line 98, in update_plot
file_names = vum_all["files"]
KeyError: 'files'
On file load, an empty vum_mappings file is passed to the function. A check to account for the emptiness of the file should circumvent this problem.
On file load, an empty vum_mappings file is passed to the function. A check to account for the emptiness of the file should circumvent this problem.