bentoMAT icon indicating copy to clipboard operation
bentoMAT copied to clipboard

Merging labels

Open karinmcode opened this issue 2 years ago • 1 comments

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

  • Manager_callback function > case 'merge'
  • applyToAllMice function

Thank you for your help

Karin

karinmcode avatar Nov 28 '22 22:11 karinmcode

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

karinmcode avatar Nov 28 '22 22:11 karinmcode