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.
Once a day, at like 8pm, we check if all the manifests have the .json file that stores all the data. If not, delete the manifest. We probably should also check that the .json file contains trials.
We could potentially wait to implement this. Its not clear to me how often this happens
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.
.json
file that stores all the data. If not, delete the manifest. We probably should also check that the .json file contains trials.