cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
311 stars 157 forks source link

Cluster view table re-sorts on changing cluster groups #1111

Open lshaheen opened 2 years ago

lshaheen commented 2 years ago

Hi,

Is there a way to get the ClusterView table to not re-sort after changing the group a cluster is assigned to? Right now it seems to re-sort it, and the sort is not stable. So for example if you have it sorted by channel, after changing a cluster to 'good' all the clusters assigned to one particular channel are randomly scrambled. It happens when this line is called, so I don't know how to get the table to not re-sort when an item is changed.

Thanks, Luke