-
Notifications
You must be signed in to change notification settings - Fork 21
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
Initial Association datamodel support. #101
Conversation
If I understand this correctly, there is some sort of json file which gets read to create the |
Codecov ReportBase: 70.31% // Head: 71.12% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #101 +/- ##
==========================================
+ Coverage 70.31% 71.12% +0.80%
==========================================
Files 15 15
Lines 2139 2192 +53
==========================================
+ Hits 1504 1559 +55
+ Misses 635 633 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
The method to input via json model isn't coded yet (that is ticket RCAL-395) - there is merely a placeholder comment until that functionality is implemented. |
* Initial test. * Rename model container class; add support for list * Refactored ModelContainer to use __getitem__ on list input. * Added tests for ModelContainer. * Implement additional magic methods and use temp RAD for testing. * Temp fix for RAD. * freeze action versions (#85) * freeze action versions * Apply suggestions from code review Co-authored-by: William Jamieson <wjamieson@stsci.edu> Co-authored-by: William Jamieson <wjamieson@stsci.edu> * freeze action versions (#85) * freeze action versions * Apply suggestions from code review Co-authored-by: William Jamieson <wjamieson@stsci.edu> Co-authored-by: William Jamieson <wjamieson@stsci.edu> * Revert RAD install required to default. * Add code from PR #102 (RCAL-386). * Remove Associations class from model registry. * Remove ModelContainer class from model registry. * Add Associations class to model registry and expose it. * Add Associations class to stnode.py. * Add empty tag attribute to Associations class. * Change Associations._tag type from None to empty string. * Remove __init__ method from Associations class. * Set tag to empty string in Associations class. * Remove Associations class from model registry. * Expose AssociationModel and create getter/setter for Associations class. * Change RAD lib version. * Bug fix. * Use temp RAD. * Class and methods clean up. * Remove pop method from ModelContainer. * Fix code style issues. * Revert RAD to main. * Revert RAD to main. * Remove references to Associations. * Fix ModelContainer tests. * Clean up. * Code style fix. * Fix code style issues using pre-commit hooks. * Add Associations class & tests from PR #101. * Point RAD to main. * Code style fixes and class clean up. * Add unit tests for ImageModel. * Remove unnecessary magic methods. * Fix issues with docstrings. * Update docstring description. * Remove outdated unit test. --------- Co-authored-by: PaulHuwe <phuwe@stsci.edu> Co-authored-by: Zach Burnett <zburnett@stsci.edu> Co-authored-by: William Jamieson <wjamieson@stsci.edu>
As the title says.. this is an initial take on a data model support for associations. This is a companion ticket to the schema ticket:
spacetelescope/rad#162
I am opening this in draft PR to facilitate conversation.