neuroethology / bentoMAT

A gui for browsing joint calcium imaging + behavioral data.
Other
50 stars 8 forks source link

Merging labels #7

Open karinmcode opened 2 years ago

karinmcode commented 2 years ago

Hi,

Thank you so much for sharing this great GUI. I am running into an issue when I try to merge two labels into one. The GUI does not update. I can still see the legend with the old label and nothing updates on the fancy slider, either. The data under gui.data.annot and gui.annot is not updated either.

In this example, the labels "running" and "prelabel_4" (frames that are similar to running) should be merged into "running" and "prelabel_4" should be deleted.

The callback function for the Merge button calls

Thank you for your help

Karin

karinmcode commented 2 years ago

I forgot to mention that the behavior labels are in two different channels.