Skip to content

Restructured to have reference JSON directory#541

Merged
dr-rodriguez merged 4 commits intoSIMPLE-AstroDB:mainfrom
dr-rodriguez:reference-directory
Aug 13, 2024
Merged

Restructured to have reference JSON directory#541
dr-rodriguez merged 4 commits intoSIMPLE-AstroDB:mainfrom
dr-rodriguez:reference-directory

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 arjunsavel and kelle 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
@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