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

Make "force save" more visible, robust to bonsai disconnection #476

Open alexpiet opened 2 months ago

alexpiet commented 2 months ago

If the user presses save and a trial has stalled, we display a warning saying waiting for the last trial to finish.

Perhaps if the user presses save again, we offer to save without waiting (force save) ?

alexpiet commented 2 months ago

@yonibrowning Reports that force save did not work after bonsai disconnected. We should ensure that it is robust. Additionally, if when waiting for the last trial to finish, if bonsai has disconnected, we should automatically force save.