klusta-team / klustaviewa

LEGACY - Graphical interface for spike sorting manual stage in Python
Other
29 stars 17 forks source link

Error when pressing Add CorrelogramsView #54

Open lepmik opened 9 years ago

lepmik commented 9 years ago

When running in Ubuntu 14.04 I get the following error:

File "/home/mikkel/apps/klustaviewa/klustaviewa/gui/mainwindow.py", line 938, in add_correlograms_view_callback self.add_correlograms_view(do_update=True, floating=True) File "/home/mikkel/apps/klustaviewa/klustaviewa/gui/mainwindow.py", line 636, in add_correlograms_view self.taskgraph.update_correlograms_view() File "/home/mikkel/apps/klustaviewa/klustaviewa/gui/taskgraph.py", line 75, in return lambda _args, kwargs: self.run(('' + name, args, kwargs)) File "/home/mikkel/apps/klustaviewa/klustaviewa/gui/taskgraph.py", line 63, in run outputs = self.run_single(action) File "/home/mikkel/apps/klustaviewa/klustaviewa/gui/taskgraph.py", line 52, in run_single return getattr(self, method)(_args, _kwargs) File "/home/mikkel/apps/klustaviewa/klustaviewa/gui/taskgraph.py", line 350, in _update_correlograms_view wizard=wizard, File "/home/mikkel/apps/klustaviewa/klustaviewa/views/viewdata.py", line 303, in get_correlogramsview_data correlograms = correlograms.submatrix(clusters_selected) File "/home/mikkel/apps/klustaviewa/klustaviewa/stats/indexed_matrix.py", line 219, in submatrix raise IndexError("Some indices are not valid.") IndexError: Some indices are not valid. None

roberttoth02 commented 9 years ago

In Debian 8.1.0 I get an almost identical error.

File "/home/.../klusta/local/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/klustaviewa/gui/mainwindow.py", line 938, in add_correlograms_view_callback self.add_correlograms_view(do_update=True, floating=True) File "/home/.../klusta/local/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/klustaviewa/gui/mainwindow.py", line 636, in add_correlograms_view self.taskgraph.update_correlograms_view() File "/home/.../klusta/local/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/klustaviewa/gui/taskgraph.py", line 75, in return lambda _args, kwargs: self.run(('' + name, args, kwargs)) File "/home/.../klusta/local/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/klustaviewa/gui/taskgraph.py", line 63, in run outputs = self.run_single(action) File "/home/.../klusta/local/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/klustaviewa/gui/taskgraph.py", line 52, in run_single return getattr(self, method)(_args, _kwargs) File "/home/.../klusta/local/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/klustaviewa/gui/taskgraph.py", line 339, in _update_correlograms_view wizard=wizard, File "/home/.../klusta/local/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/klustaviewa/views/viewdata.py", line 304, in get_correlogramsview_data correlograms = correlograms.submatrix(clusters_selected) File "/home/.../klusta/local/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/klustaviewa/stats/indexed_matrix.py", line 219, in submatrix raise IndexError("Some indices are not valid.") IndexError: Some indices are not valid. None