Closed filos93 closed 3 years ago
Hey @filos93 - sounds like a bug - which version of SimBA are you using?
Hey @sgoldenlab thanks for reply, I'm using the dev version ie, pip install simba-uw-tf-dev, should I change it?
No, keep that one @filos93 - is it the latest version? I just want to be sure I am searching for the bug in the correct place.
Hey @sgoldenlab my version is 0.77.6 Should be the latest right?
Yep, that's the latest. Thanks, I will get back to you, i'll see if I can recreate
@filos93 - can you update to version 0.77.7 and see if thats fixed?
Heads up, this part of the code hasn't been updated for a while and can still only handle two animals, if you have more you'll only get the data for animal 1 I believe.
Hey @sgoldenlab I updated my version, that fixes the bug in the GUI but I still get a KeyError in the terminal (ie, "KeyError: 'movement_Mouse_1_Ear_left_2'), I'll attach a screenshot maybe that can help. Thanks again for your help and your patience.
Ah thanks for letting me know.. just to confirm, you don't have more than 2 animals? And are the same body parts tracked on all the animals?
yes two animals and tracked bodyparts are the same, here's the list: "Mouse_1_Ear_left, Mouse_1_Ear_right, Mouse_1_Nose, Mouse_1_Tail_base, Mouse_2_Ear_left, Mouse_2_Ear_right, Mouse_2_Nose, Mouse_2_Tail_base" from my project_bp_names csv file
the other visualizations (eg, Gantt plot, path plot) works well, it's just with Data plot visualization the issue
@filos93 - let's try one more time, could you update to 0.77.8 and see if that solves it?
Hey @sgoldenlab I found the error in the dataplot.py lines: 61,63,105, you have to change "movement" to "Movement" (eg, if noAnimals == 2: move1ColName = "Movement" + SelectedBp + '1'" so simba can find the "Movement" in the features_extracted.csv file, after you do that everything works fine, I was able to generate the data plot! I'll attach a screnshot from the lines I changed in Notepad ++ maybe can help
. Thanks again :)
Super helpful, ta!
Hey, I run into an issue with Data plot visualization. When I hit the "generate data plot" button in the GUI it gives me in terminal (Anaconda Prompt) a "KeyError: 'movement_Mouse_2_No_2'", indeed when I try to select body parts in the GUI they are wrong like truncated. In particular, the "Select body part" button shows me the wrong body parts (eg, "Mouse_2_No" instead of "Mouse_2_Nose" as it is in the project_bp_names.csv file). How can I fix it? Thank you so much again.