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-3606: Outlier detection cleanup #8438

Merged
merged 7 commits into from
Apr 30, 2024

Conversation

braingram
Copy link
Collaborator

@braingram braingram commented Apr 25, 2024

This PR removes some unused code from outlier_detection.

This PR removes the unused:

  • OutlierDetectionScaledStep,
  • OutlierDetectionStackStep
  • outlierpars reference file handling,
  • scale_detection from OutlierDetectinStep spec
  • scale_detection from calwebb_tso3

Regtests show 4 unrelated failures
https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1406/
3 are the "usual suspects" that fail intermittently due to logging issue (test_duplicate_names, test_nirspec_missing_msa_fail, and test_nirspec_missing_msa_nofail).
test_miri_image_detector1_with_avg_dark_current[rate] also failed but in the same way as it's failing on main:
https://plwishmaster.stsci.edu:8081/job/RT/job/JWST/2866/testReport/junit/jwst.regtest/test_miri_image/_stable_deps__test_miri_image_detector1_with_avg_dark_current_rate_/

Resolves JP-3606

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

Copy link

codecov bot commented Apr 25, 2024

Codecov Report

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

Project coverage is 56.38%. Comparing base (2fb073e) to head (17e0cd9).
Report is 42 commits behind head on master.

Files Patch % Lines
jwst/pipeline/calwebb_tso3.py 7.69% 12 Missing ⚠️
jwst/outlier_detection/outlier_detection_ifu.py 50.00% 1 Missing ⚠️
jwst/outlier_detection/outlier_detection_spec.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #8438       +/-   ##
===========================================
- Coverage   75.31%   56.38%   -18.93%     
===========================================
  Files         474      387       -87     
  Lines       38965    38716      -249     
===========================================
- Hits        29345    21830     -7515     
- Misses       9620    16886     +7266     
Flag Coverage Δ
nightly ?

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

@braingram braingram changed the title Outlier detection cleanup JP-3606: Outlier detection cleanup Apr 26, 2024
@braingram braingram marked this pull request as ready for review April 26, 2024 18:33
@braingram braingram requested a review from a team as a code owner April 26, 2024 18:33
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

@nden
Copy link
Collaborator

nden commented Apr 30, 2024

@braingram This looks good to me. Feel free to merge if ready.

@braingram braingram merged commit f7a9c95 into spacetelescope:master Apr 30, 2024
25 of 28 checks passed
@braingram braingram deleted the outlier_detection_cleanup branch April 30, 2024 19:09
@hbushouse hbushouse added this to the Build 11.0 milestone Apr 30, 2024
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