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

Phy2 Not Updating cluster_info.tsv #1100

Closed ggrubbs99 closed 3 years ago

ggrubbs99 commented 3 years ago

When splitting or merging clusters, or even when re-assigning labels to existing clusters (ex. changing mua to good), the saved cluster_info.tsv file does not update the changed labels. Besides the color of the cluster in the cluster view changing, the info is also not updated in the gui. Is this an issue with saving or with the changing classification? I've attached a screenshot below of some examples.

phygitquestion phygitquestion2

ggrubbs99 commented 3 years ago

Just found that the changed classification is held in cluster_info.group, not cluster_info.KSlabel. Think it might make sense to look at changing this so that one list can be updated to extract all the info at once for convenience.