Closed zacharyburnett closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.93%. Comparing base (
1aec135
) to head (f807b76
). Report is 3 commits behind head on main.:exclamation: Current head f807b76 differs from pull request most recent head 494cf2f
Please upload reports for the commit 494cf2f to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
applying ==
-> =
causes the tests to fail, apparently
this override function is unchanged from the original commit of this file: https://github.com/spacetelescope/romancal/blob/393d60f4702489d9e1d2f8b1fa7054e678b619b2/romancal/associations/lib/rules_level2.py#L53-L65
however, it doesn't seem to do what the docstring says. Should I update the docstring?
Honestly, I'd update to """Return item['exp_type']""", as you've reimplemented the code, or delete the docstring entirely. Dave, do you know what the point of this code is? is_current_patt_num doesn't mean anything to me, and we don't really have background exposures as a separate concept, so I suspect the changes you've made to just delete these lines are effectively correct.
You can remove that docstring. It is a holdover from JWST for nodded observations.
On 5/28/24 11:38 AM, Zach Burnett wrote:
applying |==| -> |=| causes the tests to fail, apparently
this override function is unchanged from the original commit of this file: https://github.com/spacetelescope/romancal/blob/393d60f4702489d9e1d2f8b1fa7054e678b619b2/romancal/associations/lib/rules_level2.py#L53-L65 https://urldefense.com/v3/__https://github.com/spacetelescope/romancal/blob/393d60f4702489d9e1d2f8b1fa7054e678b619b2/romancal/associations/lib/rules_level2.py*L53-L65__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!xpMlMMuBt9rrH8C-_0kwgkmkv_ev7H_FsMj_f2h8K4cre0ZGHJU-kZ2V8_N6T5aCm6QLLzRos5wt3HtoljE8jfih$
however, it doesn't seem to do what the docstring says. Should I update the docstring?
— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/spacetelescope/romancal/pull/1250*issuecomment-2135561149__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!xpMlMMuBt9rrH8C-_0kwgkmkv_ev7H_FsMj_f2h8K4cre0ZGHJU-kZ2V8_N6T5aCm6QLLzRos5wt3Htolh9VNgWx$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ALXCXWP2O3JYXORTMX3VS43ZESQIHAVCNFSM6AAAAABIFUQFSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGU3DCMJUHE__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!xpMlMMuBt9rrH8C-_0kwgkmkv_ev7H_FsMj_f2h8K4cre0ZGHJU-kZ2V8_N6T5aCm6QLLzRos5wt3Htolm8Q1OhG$. You are receiving this because your review was requested.Message ID: @.***>
Closes #1242
Checklist
CHANGES.rst
under the corresponding subsection~