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

Removing temporary database functionality. #704

Merged

Conversation

astronomerritt
Copy link
Contributor

Fixes #693.
I've removed all of the functionality for creating temporary SQLite databases from the ephemeris input files. This is no longer necessary with the magic of ASSIST+REBOUND. I believe I've removed all references and mentions of the temporary databases (I remembered to grep this time).

I have, however, left in the DatabaseReader class (and tweaked its unit test so it still works) - this might be of use later. Added a comment explaining.

Review Checklist for Source Code Changes

  • Does pip install still work?
  • Have you written a unit test for any new functions?
  • Do all the units tests run successfully?
  • Does Sorcha run successfully on a test set of input files/databases?
  • Have you used black on the files you have updated to confirm python programming style guide enforcement?

@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
src/sorcha/modules/PPCommandLineParser.py 94.59% <ø> (+8.38%) ⬆️
src/sorcha/modules/PPConfigParser.py 66.95% <ø> (+0.29%) ⬆️
src/sorcha/modules/__init__.py 100.00% <ø> (ø)
src/sorcha/readers/DatabaseReader.py 90.32% <ø> (ø)
src/sorcha/sorcha.py 64.87% <100.00%> (+1.74%) ⬆️
src/sorcha/utilities/sorchaArguments.py 95.38% <ø> (-0.57%) ⬇️

📢 Thoughts on this report? Let us know!.

@astronomerritt astronomerritt merged commit 187a930 into dirac-institute:main Oct 17, 2023
@astronomerritt astronomerritt deleted the removing_temp_db branch October 18, 2023 13:41
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.

Remove all functionality for temporary ephemeris databases
2 participants