Skip to content

Add database toml#682

Merged
kelle merged 9 commits intoSIMPLE-AstroDB:mainfrom
ying2212:add-database-toml
Apr 14, 2026
Merged

Add database toml#682
kelle merged 9 commits intoSIMPLE-AstroDB:mainfrom
ying2212:add-database-toml

Conversation

@ying2212
Copy link
Copy Markdown
Member

Short description: improve database settings in SIMPLE by adding database.toml for new astrodb_utils function

Link to relevant issue: Closes #672

@ying2212
Copy link
Copy Markdown
Member Author

did not remove simple/__init__.py as it will break test files that import REFERENCE_TABLES. Should we update the conftest.py files to use build_db_from_json() instead ?

@kelle
Copy link
Copy Markdown
Collaborator

kelle commented Apr 14, 2026

yes, modify conftest to use the new method!

Comment thread tests/conftest.py Outdated
ying2212 and others added 2 commits April 14, 2026 15:48
Co-authored-by: Kelle Cruz <kellecruz@gmail.com>
* initial commit ingest converted spectra

* update original spectrum url + json files + pytest

* update comment in ingesting script

* Update data/reference/Instruments.json

Co-authored-by: Kelle Cruz <kellecruz@gmail.com>

* Update data/source/2mass_j06164006-6407194.json

Co-authored-by: Kelle Cruz <kellecruz@gmail.com>

* Update scripts/ingests/bones_archive/ingest_BONES_spectra.py

Co-authored-by: Kelle Cruz <kellecruz@gmail.com>

* update version to 5.3.2026.02

* fix schedule_checks.py

---------

Co-authored-by: Kelle Cruz <kellecruz@gmail.com>
Comment thread tests/test_felis.py Outdated
Copy link
Copy Markdown
Collaborator

@kelle kelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming test pass, this looks good to me. Good job!

@dr-rodriguez dr-rodriguez self-requested a review April 14, 2026 20:23
@kelle kelle merged commit 6d2c89a into SIMPLE-AstroDB:main Apr 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make database.toml for SIMPLE

3 participants