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-2032: Fix bug introduced when adding 4-amp subarray processing in refpix step #5937

Merged

Conversation

stscirij
Copy link
Contributor

@stscirij stscirij commented Apr 7, 2021

Closes #5936

Resolves JP-2032

Description

This PR addresses JP-2032. JP-1929 introduced a bug into the refpix step for 1-amp readout NIR subarrays. This PR fixes it. Unit tests and regression test now run.

Checklist

  • Tests
  • Documentation
  • Change log
  • Milestone
  • Label(s)

@stscirij stscirij requested a review from hbushouse April 7, 2021 14:39
@hbushouse hbushouse added this to the Build 7.8 milestone Apr 7, 2021
@codecov
Copy link

codecov bot commented Apr 7, 2021

Codecov Report

Merging #5937 (10c4896) into master (b7c220f) will increase coverage by 0.09%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5937      +/-   ##
==========================================
+ Coverage   77.79%   77.89%   +0.09%     
==========================================
  Files         403      403              
  Lines       35358    35549     +191     
==========================================
+ Hits        27507    27690     +183     
- Misses       7851     7859       +8     
Flag Coverage Δ *Carryforward flag
nightly 77.80% <100.00%> (ø) Carriedforward from 2d2c862
unit 56.04% <100.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
jwst/refpix/reference_pixels.py 92.81% <100.00%> (+0.99%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b7c220f...10c4896. Read the comment docs.

Copy link
Collaborator

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

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

LGTM. I'll take your word that the code changes actually fix the problem in an appropriate fashion.

Just needs a change log entry.

@hbushouse
Copy link
Collaborator

So once the CI tests finish (successfully) I think this will be ready to merge, right?

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.

Fix bug introduced in refpix step for 1-amp readout subarrays
2 participants