sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
289 stars 141 forks source link

Visualising ROI not working #305

Open neurorie opened 11 months ago

neurorie commented 11 months ago

Describe the bug I have saved my ROI data and analysis went fine. When I try to visualise the ROI tracking, however, it gives me an error.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Visualise ROI Tracking'
  2. See error image The homescreen also pause like this: image

I have updated SIMBA and it did not fix.

Expected behavior Labelled videos in the output frames folder.

Desktop (please complete the following information): OS: Windows 11 Enterprise Python Version Python 3.10.10 Are you using anaconda? Yes

Thank you in advance for helping!

sronilsson commented 11 months ago

This is super helpful, thank you @neurorie! I inserted a another detailed bout dataframe output yesterday, in response to a comment on Gitter, I removed the old one as I didn't think it was needed.. but it looks like the plotting was using it..

I have inserted it again version in 1.76.9 , if you update how does it look? Can you also confirm how it looks if you tick the multiprocess checkbox?

neurorie commented 11 months ago

It seems to be working now! Thank you, I tried both multiprocess and not and both seems to output the correct video :) The only thing is, it is minor, but when the video is being made a temporal folder is made in the ROI_analysis folder which does not get deleted. It's just empty so I can just delete myself, but wanted to make a note of it.

sronilsson commented 11 months ago

Thanks for letting me know and yes, I can see the temp folder being cleared of content, but the folder is not properly deleted, I should fix that.