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

Catch bad configs on load #77

Open arielleleon opened 1 month ago

arielleleon commented 1 month ago

The current app can process an empty config in the _load_manifest function. If the yaml contains no data, the config attr will never be set. When this happens, watchdog will stall and needs to be restarted. Need to catch this.l