-
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
Group models by obs_id for steps that use grouping #1448
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1448 +/- ##
=======================================
Coverage 76.15% 76.15%
=======================================
Files 115 115
Lines 7638 7638
=======================================
Hits 5817 5817
Misses 1821 1821 ☔ View full report in Codecov by Sentry. |
Thanks, this looks good. A separate issue, but I hadn't appreciated that we were storing group_id in the files. I guess that's okay? It's not in our schema, so it's an optional added thing. Apparently tweakreg adds it, even for grism data where it's not doing anything and the step gets skipped. This test seems to imply some special structure is expected in group_id, but I think the test itself is the only thing that assumes that structure so it's probably fine. romancal/romancal/tweakreg/tests/test_tweakreg.py Lines 912 to 927 in 1945dad
Anyway, this change looks good and I'll spin some group_id investigation into a separate issue. Can I ask you to handle the okifying? Thanks! |
FWIW, #1450 . |
5ab7965
to
d139a4b
Compare
Go ahead. Please okify afterward, thanks! We've had a lot of other regtest-changing updates in the meantime, so it will require a fresh regtest to okify. |
Regression tests for okifying started here: https://github.com/spacetelescope/RegressionTests/actions/runs/11487718465 I'll okify these when they finish. |
Results okified, this should be a clean run: https://github.com/spacetelescope/RegressionTests/actions/runs/11488484303 |
Group by
meta.observation.obs_id
.Fixes: #1259
Regression tests: https://github.com/spacetelescope/RegressionTests/actions/runs/11281421723
show 5 expected failures like the following:
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