simulation-based-inference / simulation-based-inference.github.io

Website
https://simulation-based-inference.org
10 stars 4 forks source link

Replace SQLite with YAML #72

Closed JasonLo closed 1 year ago

JasonLo commented 1 year ago

I have transitioned our system from an SQLite database to a singular YAML file. Data validation is now handled by Pydantic within the Paper object. Furthermore, a suite of CRUD functions (Create, Read, Update, Delete) for YAML manipulation has been implemented in database.py to provide convenience. However, maintainers still have the option to directly edit the YAML file without using CRUD operations. To maintain data integrity, an automatic validation and cleaning process has been integrated as part of the daily pull action."