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

Cleanup skymatch code and fix PEP8 issues #7534

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

mcara
Copy link
Member

@mcara mcara commented Apr 9, 2023

This PR simply addresses PEP8 issues and also comments out _calc_sky_orig function (I just do not have time at this moment to test whether this code can be safely restored. I will do this later but I want to keep it here for convenience.)

I expect no changes to any tests. Most PEP8 issues were line length.

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

Regression test is running here: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/636/

@mcara mcara requested a review from a team as a code owner April 9, 2023 01:17
@mcara mcara self-assigned this Apr 9, 2023
@mcara mcara added this to the Build 9.3 milestone Apr 9, 2023
@mcara mcara requested review from perrygreenfield and nden April 9, 2023 01:18
@codecov
Copy link

codecov bot commented Apr 9, 2023

Codecov Report

Patch coverage: 60.00% and project coverage change: +0.08 🎉

Comparison is base (7804c74) 77.42% compared to head (8eee818) 77.51%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7534      +/-   ##
==========================================
+ Coverage   77.42%   77.51%   +0.08%     
==========================================
  Files         452      452              
  Lines       36241    36200      -41     
==========================================
- Hits        28060    28059       -1     
+ Misses       8181     8141      -40     
Flag Coverage Δ
nightly 77.51% <60.00%> (+0.08%) ⬆️
Impacted Files Coverage Δ
jwst/skymatch/skyimage.py 62.53% <0.00%> (+5.54%) ⬆️
jwst/skymatch/skymatch.py 77.58% <ø> (ø)
jwst/skymatch/skymatch_step.py 76.19% <ø> (ø)
jwst/skymatch/skystatistics.py 86.48% <ø> (ø)
jwst/skymatch/region.py 80.55% <75.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@mcara mcara requested a review from hbushouse April 9, 2023 02:09
Copy link
Contributor

@perrygreenfield perrygreenfield 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 enough for me, hai!

@mcara
Copy link
Member Author

mcara commented Apr 10, 2023

Regression tests fail but in the same manner as previous runs => this PR did not affect results

@mcara mcara merged commit 43f02c9 into spacetelescope:master Apr 10, 2023
@hbushouse hbushouse modified the milestones: Build 9.3, Build 9.2 Apr 25, 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