From fff94d941ba5679535e4393c97d30ea204cdc410 Mon Sep 17 00:00:00 2001 From: ying2212 Date: Tue, 5 May 2026 15:30:51 -0400 Subject: [PATCH 1/2] update README Getting Started section --- README.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f0394d563..6724a6370 100644 --- a/README.md +++ b/README.md @@ -41,15 +41,10 @@ We recommend using a conda environment to handle python dependencies. The follow 3. In Python, connect a database file `SIMPLE.sqlite` as a Database object called `db` and recreate the database using the JSON files in the `data/` directory. Run these commands from within Python. ```python - from astrodb_utils import load_astrodb - from simple import REFERENCE_TABLES - - SCHEMA_PATH = "simple/schema.yaml" - db = load_astrodb( - "SIMPLE.sqlite", - recreatedb=True, - reference_tables=REFERENCE_TABLES, - felis_schema=SCHEMA_PATH + from astrodb_utils.loaders import build_db_from_json + + db = build_db_from_json( + settings_file="database.toml" ) ``` From 9b3b5017286338e9c94bd9b33a8c9a8ab8554646 Mon Sep 17 00:00:00 2001 From: ying2212 Date: Wed, 6 May 2026 13:55:31 -0400 Subject: [PATCH 2/2] Update schema.yaml path in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6724a6370..a0dffc6d4 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ If you've made changes to the SIMPLE Archive that you would like to contribute t ## SIMPLE Database Schema The schema for the SIMPLE database is described -in the [Documentation](documentation) and can be found in [`simple/schema.yaml`](simple/schema.yaml). +in the [Documentation](documentation) and can be found in [`schema.yaml`](schema.yaml). A graphical representation of the SIMPLE schema: