Closed vishwa2710 closed 1 week ago
The changes in this pull request involve significant updates to the documentation and code structure of the Open Space Toolkit for Physics. The README.md
has been enhanced with new sections and clarifications regarding installation, data management, and usage of Docker. In the code, the Engine
and Manager
classes have been refactored to simplify mode management by centralizing it within the Manager
. This includes the removal of mode-related methods and variables from the Engine
, alongside modifications to the test cases to reflect these structural changes.
File | Change Summary |
---|---|
README.md | Enhanced documentation with badges, expanded "Getting Started", clarified "Installation", elaborated "Data Management", updated "Setup", and listed dependencies. |
include/OpenSpaceToolkit/Physics/Environment/Ephemeris/SPICE/Engine.hpp | Removed Mode enum and related methods; updated constructor to default constructor; added deleted move constructor and assignment operator. |
include/OpenSpaceToolkit/Physics/Environment/Ephemeris/SPICE/Manager.hpp | Updated class to inherit from BaseManager ; deleted copy constructor/assignment; removed local repository management methods. |
src/OpenSpaceToolkit/Physics/Environment/Ephemeris/SPICE/Engine.cpp | Removed mode-related methods; updated constructor; modified kernel loading logic to rely on Manager . |
src/OpenSpaceToolkit/Physics/Environment/Ephemeris/SPICE/Manager.cpp | Altered constructor to initialize from BaseManager ; removed local repository management methods; refactored initialization logic. |
test/OpenSpaceToolkit/Physics/Environment/Ephemeris/SPICE.test.cpp | Converted standalone tests to a fixture class; updated test methods to use new member variables for Engine and Manager . |
test/OpenSpaceToolkit/Physics/Environment/Ephemeris/SPICE/Engine.test.cpp | Added dependency on Manager ; updated tests to reflect mode management changes; removed GetMode test. |
test/OpenSpaceToolkit/Physics/Environment/Ephemeris/SPICE/Manager.test.cpp | Added member variable for mode; updated SetUp and TearDown methods; removed local repository tests. |
Engine.cpp
regarding the management of kernel loading and mode handling are related to the modifications in the README.md
that elaborate on the data management and setup processes, particularly the shift towards using the Manager
class for mode management.setup()
method in the Manager
class enhances the initialization process, which aligns with the updates in the README.md
that clarify the setup and installation instructions for users.🐰 In the garden, changes bloom,
With badges bright, dispelling gloom.
Modes now managed, neat and clear,
Documentation brings us cheer!
Docker's here, let's set the stage,
For physics fun at every age! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 82.37%. Comparing base (
390d052
) to head (3876c88
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This MR refactors the spice manager to follow the same patterns as the other managers.
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Refactor