Open alexpiet opened 1 month ago
Details. I propose the following solution:
Foraging._generate_upload_manifest()
is called as part of the saving process after the first trial, and then again at the end of the session.Based on further discussion with @arielleleon the best approach here is to create the upload manifest at the start of the session, and then not modify it at the end of the session. So lets set the upload time to 830, or maybe 9 to give a little buffer to users returning the mice to the vivarium before the 830 light cycle switch.
It appears that the users sometimes close the session without saving at the end. No data is lost because each trial is saved.