AllenNeuralDynamics / dynamic-foraging-task

Bonsai/Harp workflow for Dynamic Foraging with Python GUI for visualization and control
MIT License
5 stars 4 forks source link

Checks for the presence of saved data before warning about missing trigger file #446

Closed alexpiet closed 4 months ago

alexpiet commented 4 months ago

Pull Request instructions:

Describe changes:

Right now the GUI generates a warning if there is a missing camera trigger file. However if no video data was collected, then this file wont exist. Now we check for saved video data before issuing a warning. If saved video data does exist, the warning is logged as an error

What issues or discussions does this update address?

Describe the expected change in behavior from the perspective of the experimenter

Describe any manual update steps for task computers

Was this update tested in 446/447?

alexpiet commented 4 months ago

@hanhou @XX-Yin This is ready for review