Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructured to have reference JSON directory #541

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

dr-rodriguez
Copy link
Collaborator

Restructured the database with the changes from astrodbtoolkit/AstrodbKit#77
The tests are likely to fail until that gets merged and released.

The core change is that the reference_directory is now an optional variable that can be set (defaults to "reference") when saving/loading the database. Anything set as a reference table will get stored in that sub-directory. This is backwards compatible in the sense that if the reference tables are not in that directory, it will check the original (parent) directory.

@dr-rodriguez dr-rodriguez requested review from kelle and arjunsavel July 23, 2024 21:03
@kelle kelle marked this pull request as draft July 25, 2024 23:16
@dr-rodriguez
Copy link
Collaborator Author

I noticed that github will suppress anything over 3000 files, but this particular PR is relatively simple as it is just moving data from the top-level data directory into data/source and data/reference. Once astrodbkit2 is updated, we can re-run the tests and confirm everything is working well (locally on my machine all tests pass with the new astrodbkit2).

Copy link
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.

AMAZING!!!!

@dr-rodriguez dr-rodriguez merged commit 10112b5 into SIMPLE-AstroDB:main Aug 13, 2024
1 check passed
@dr-rodriguez dr-rodriguez deleted the reference-directory branch August 13, 2024 20:42
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.

2 participants