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

Clean up manifest files for sessions that never generated any trials #740

Open alexpiet opened 2 days ago

alexpiet commented 2 days ago

Since we now create the manifest file at the start of the session, if a session does not complete a single trial, then it will not have any data to upload (so we don't care about it), and there will be no metadata files (so it won't upload).

In this case we should simply delete the manifest file. We don't have a policy of when we delete data of the acquisition computer, so that isn't a problem yet.

We probably want to implement this as a stand alone script that we set up with Task manager.