Skip to content
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

JP-3268: Fix pixel_replace step status error #7619

Merged
merged 3 commits into from
Jun 27, 2023

Conversation

hbushouse
Copy link
Collaborator

@hbushouse hbushouse commented Jun 26, 2023

Resolves JP-3268

This PR fixes the pixel_replace step code so that it properly updates the step status keyword on completion. Previously a data model object was being updated that was not the model returned from the step, so the update was lost.

Checklist for maintainers

  • added entry in CHANGES.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant milestone
  • added relevant label(s)
  • ran regression tests, post a link to the Jenkins job below.
    How to run regression tests on a PR
  • Make sure the JIRA ticket is resolved properly

@hbushouse hbushouse added this to the Build 9.3 milestone Jun 26, 2023
@hbushouse hbushouse requested a review from a team as a code owner June 26, 2023 18:44
@codecov
Copy link

codecov bot commented Jun 26, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4ea2860) 76.61% compared to head (7d00e57) 76.61%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7619   +/-   ##
=======================================
  Coverage   76.61%   76.61%           
=======================================
  Files         456      456           
  Lines       36819    36819           
=======================================
  Hits        28209    28209           
  Misses       8610     8610           
Flag Coverage Δ *Carryforward flag
nightly 77.43% <ø> (ø) Carriedforward from 4ea2860

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
jwst/pixel_replace/pixel_replace_step.py 26.66% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@hbushouse
Copy link
Collaborator Author

Copy link
Collaborator

@nden nden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tapastro
Copy link
Contributor

🙈

@hbushouse
Copy link
Collaborator Author

regtest run intentionally used CRDS_TEST, which contains an updated pars-spec2pipeline ref file for MIRI LRS that turns on the pixel_replace step. The LRS tests show that the S_PXREPL keyword is now present and populated. All other failures are due to the differences in ref files in CRDS_TEST vs. CRDS_OPS (which is what the truth files are based on). So this looks good.

@hbushouse hbushouse merged commit bcbccc9 into spacetelescope:master Jun 27, 2023
@hbushouse hbushouse deleted the pixreplace_fix branch June 27, 2023 00:07
mairanteodoro pushed a commit to mairanteodoro/jwst that referenced this pull request Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants