-
Notifications
You must be signed in to change notification settings - Fork 28
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
remove lib.dms #1433
remove lib.dms #1433
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1433 +/- ##
==========================================
+ Coverage 78.07% 78.11% +0.03%
==========================================
Files 119 118 -1
Lines 7695 7689 -6
==========================================
- Hits 6008 6006 -2
+ Misses 1687 1683 -4
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I think I understand this to remove the existing log messages that describe what we're checking when we eventually mark a requirement as passed in favor of just having DMSXYZ: PASS. We have been telling I&T what we're testing when we run these tests. It's unclear to me how much they actually care about seeing those messages but I do think they have value. Do I understand correctly that we no longer see those messages and pass, and only see them on failure? |
Thanks for taking a look. Yeah this PR removes log messages like this:
The mapping of tests to DMS requirements is now being handled by the
so from the DMS side of things these logs aren't needed. With this PR the above log message won't be produced and if I force that check to fail I see the following output from pytest:
If it's helpful to retain the log messages for romancal developers this PR could be reduced to maybe just an update to the docstring for Lines 1 to 5 in 1945dad
Let me know if this is preferred. |
Yeah, I think we want to retain the success messages; we flag to I&T to look for them to signal that we have done something. I hear you that they aren't needed in the sense that the DMS metrics logger is using the json file instead. |
This PR removes
romancal.lib.dms
. The log function in this sub-module is no longer a DMS requirement and was moved toromancal/regtest/test_ramp_fitting.py
.Regression tests all pass: https://github.com/spacetelescope/RegressionTests/actions/runs/11279841228
Tasks
24Q4_B15
(use the latest build if not sure)no-changelog-entry-needed
)changes/
:echo "changed something" > changes/<PR#>.<changetype>.rst
(see below for change types)docs/
pageokify_regtests
to update the truth filesnews fragment change types...
changes/<PR#>.general.rst
: infrastructure or miscellaneous changechanges/<PR#>.docs.rst
changes/<PR#>.stpipe.rst
changes/<PR#>.associations.rst
changes/<PR#>.scripts.rst
changes/<PR#>.mosaic_pipeline.rst
changes/<PR#>.patch_match.rst
steps
changes/<PR#>.dq_init.rst
changes/<PR#>.saturation.rst
changes/<PR#>.refpix.rst
changes/<PR#>.linearity.rst
changes/<PR#>.dark_current.rst
changes/<PR#>.jump_detection.rst
changes/<PR#>.ramp_fitting.rst
changes/<PR#>.assign_wcs.rst
changes/<PR#>.flatfield.rst
changes/<PR#>.photom.rst
changes/<PR#>.flux.rst
changes/<PR#>.source_detection.rst
changes/<PR#>.tweakreg.rst
changes/<PR#>.skymatch.rst
changes/<PR#>.outlier_detection.rst
changes/<PR#>.resample.rst
changes/<PR#>.source_catalog.rst