Skip to content

Conversation

@jemorrison
Copy link
Collaborator

@jemorrison jemorrison commented Apr 22, 2025

Partially resolves JP-3857

This PR updates the saturation step to conform to code style rules.

Tasks

@jemorrison
Copy link
Collaborator Author

jemorrison commented Apr 22, 2025

running regression tests

Copy link
Collaborator

@emolter emolter left a comment

Choose a reason for hiding this comment

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

Thanks Jane, this looks great, I've added some additional suggestions

@codecov
Copy link

codecov bot commented Apr 22, 2025

Codecov Report

Attention: Patch coverage is 72.54902% with 14 lines in your changes missing coverage. Please review.

Project coverage is 75.62%. Comparing base (670170d) to head (71b11d3).
Report is 733 commits behind head on main.

Files with missing lines Patch % Lines
jwst/saturation/x_irs2.py 16.66% 10 Missing ⚠️
jwst/saturation/saturation_step.py 75.00% 3 Missing ⚠️
jwst/saturation/saturation.py 96.15% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9405      +/-   ##
==========================================
+ Coverage   75.60%   75.62%   +0.01%     
==========================================
  Files         368      368              
  Lines       36916    36908       -8     
==========================================
+ Hits        27911    27912       +1     
+ Misses       9005     8996       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jemorrison jemorrison requested a review from emolter April 24, 2025 20:51
@jemorrison
Copy link
Collaborator Author

@emolter When I look at the files changed - I see all the modifications you suggested.

@jemorrison
Copy link
Collaborator Author

@emolter Hopefully you will see all the changes now.
I am not sure why you did not before

Copy link
Collaborator

@emolter emolter left a comment

Choose a reason for hiding this comment

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

All my comments have been addressed, thanks Jane!

I added one additional small note about the input model parameter we were having a back-and-forth about, but it's up to you whether to incorporate it, it's not a big deal either way

Copy link
Collaborator

@melanieclarke melanieclarke left a comment

Choose a reason for hiding this comment

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

Looks good! One small typo in your last change + one rephrasing suggestion.

Copy link
Collaborator

@melanieclarke melanieclarke left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@melanieclarke melanieclarke enabled auto-merge April 25, 2025 18:16
@melanieclarke melanieclarke merged commit cc912b8 into spacetelescope:main Apr 25, 2025
19 checks passed
@jemorrison jemorrison deleted the JP-3857_saturation branch September 30, 2025 22:56
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