AllenNeuralDynamics / aind-watchdog-service

Data staging service that prepares acquistion data for cloud upload to Amazon S3 and Code Ocean processing.
https://allenneuraldynamics.github.io/aind-watchdog-service/
MIT License
2 stars 1 forks source link

Delete manifest files after transferring them to the completred folder #61

Open arielleleon opened 2 months ago

arielleleon commented 2 months ago

Describe the bug Once a manifest is processed, it needs to be copied into the manifest_complete directory and then removed from the flag directory. Currently, the processed files are only being copied to the manifest_complete directory and not deleted from the flag directory. See problem here

arielleleon commented 2 months ago

The os.remove is not executing, at least not correctly