This is the new SampleSupervisor class, it handles all storage and processing operations within Project() and outside of it. The class allow simple calls to get samples for any calculations.
Various tests are added in this PR for SampleSupervisor, the class passes all tests and works fine, if you have any other test cases to propose, please let me know.
It is expected that as we are adding more features over time, I will rewrite the SampleSupervisor in the future to use graphs to process the necessary computations in the correct order.
Fixes #(issue)
Type of change
[ ] Documentation update
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Test improvement
How Has This Been Tested?
All tests performed are included in tests/sample_storage/test_sample_storage.py
Checklist:
[X] This branch is up-to-date with master
[X] All gh-action checks are passing
[X] I have performed a self-review of my own code
[X] My code follows the style guidelines of this project
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] I have added tests that prove my fix is effective or that my feature works
[X] My tests run with pytest from the map2loop folder
[X] New and existing tests pass locally with my changes
Checklist continued (if PR includes changes to documentation)
[ ] I have built the documentation locally with make.bat
[ ] I have built this documentation in docker, following the docker configuration in map2loop/docs
Description
Fixes #(issue)
Type of change
How Has This Been Tested?
All tests performed are included in tests/sample_storage/test_sample_storage.py
Checklist:
Checklist continued (if PR includes changes to documentation)