lastralab / ABISSMAL

Github repository for ABISSMAL behavioral tracking platform
https://github.com/lastralab/ABISSMAL
Other
3 stars 2 forks source link

[R] Fix function bugs #473

Closed gsvidaurre closed 5 months ago

gsvidaurre commented 7 months ago

All R code that calls the functions need to be modified to specify the new repository name. Also, I found a bug in preprocess_detections while working on the tutorials with simulated data. It appears that the detections aren't being filtered out correctly. I need to find out why and also check why the unit tests didn't catch this bug before

gsvidaurre commented 7 months ago

The only difference I can find between the simulated datasets for the tutorials and those for the unit testing are that the former end on an odd numbered timestamp and the latter end on an even number. So the logic inside preprocess_detections() works for series of timestamps that end in even numbers but not for those that end with odd numbers. Need to fix the logic and add more simulated data that end in odd numbered timestamps to the unit tests

gsvidaurre commented 5 months ago

Moving this issue to #472