-
Notifications
You must be signed in to change notification settings - Fork 26
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
Deprecate extra_fits #402
base: main
Are you sure you want to change the base?
Deprecate extra_fits #402
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #402 +/- ##
==========================================
- Coverage 78.16% 78.15% -0.02%
==========================================
Files 115 115
Lines 5144 5158 +14
==========================================
+ Hits 4021 4031 +10
- Misses 1123 1127 +4 ☔ View full report in Codecov by Sentry. |
@braingram I have to admit I've never had to deprecate access to an attribute before, nor deprecate something that is currently used in so many places. Leaving this as draft for now - is this anywhere near what you would have envisioned? |
Thanks. Yeah I think this is on the right track. Since we're awaiting feedback I'll defer a detailed look until we've heard back. |
Closes #295
Resolves JP-3886
This PR deprecates direct reading and setting of the
extra_fits
and_extra_fits
attributes of datamodels.Tasks
docs/
pageno-changelog-entry-needed
)changes/
:echo "changed something" > changes/<PR#>.<changetype>.rst
(see below for change types)jwst
regression tests with this branch installed ("git+https://github.com/<fork>/stdatamodels@<branch>"
)news fragment change types...
changes/<PR#>.feature.rst
: new featurechanges/<PR#>.bugfix.rst
: fixes an issuechanges/<PR#>.doc.rst
: documentation changechanges/<PR#>.removal.rst
: deprecation or removal of public APIchanges/<PR#>.misc.rst
: infrastructure or miscellaneous change