Too few trials causes a day not to be included in supervisor summarize
Opened this issue · 1 comments
Issue
No row displayed in sup-summerize today for Red 2, Red 5 & Red6.
Expected Behavior
A line should be displayed for the run today.
❗ Assuming my note below is correct, then the correct Expected Behavior would be that the filter should only apply to Oddball files with less than 2 complete blocks, but see newly opened second issue.
Notes
Low trial count may explain why no run is showing up. I believe the issue is related to bugged performance on line 513.
Behavior-autoanalysis/supervisor-summarize.R
Line 513 in bb191af
The filter limiting on complete blocks should only be applying for oddball files. These guys are on gap_detection and have never been on Oddball. Maybe it needs to be an &&.
Reproduce
Missing lines.zip
Using the provided files, run supervisor-summarize.R (I have provided my second attempt at getting them included in supervisor.xlsx)
Note the top lines are for 8/24.
You can confirm the runs are in for those rats as the count table at the top shows Rxn | Sodium Salicylate | 08/26/2023 | 2
Additionally you can see they are in the 'Runs entered for today' & 'Single Rat History' using the Common lookups.R
Teal 1 works.zip
My diagnosis may be entirely wrong given that Teal 1 who only has 16 trials (less than the 20 for 2 complete blocks) does have a row in the table for today