Skip to content

Fix error array rotation bug#184

Merged
jeremyneveu merged 1 commit into
LSSTDESC:masterfrom
cgobat:bugfix/rotation-error
Jun 12, 2026
Merged

Fix error array rotation bug#184
jeremyneveu merged 1 commit into
LSSTDESC:masterfrom
cgobat:bugfix/rotation-error

Conversation

@cgobat

@cgobat cgobat commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

If the image is rotated, errors should be rotated too. Currently the if rotated: path draws on image.err rather than image.err_rotated (to go with image.data_rotated) as it should. This PR fixes it.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 27256796816

Coverage decreased (-0.01%) to 89.031%

Details

  • Coverage decreased (-0.01%) from the base build.
  • Patch coverage: 1 of 1 lines across 1 file are fully covered (100%).
  • 1 coverage regression across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

1 previously-covered line in 1 file lost coverage.

File Lines Losing Coverage Coverage
spectractor/fit/fitter.py 1 79.95%

Coverage Stats

Coverage Status
Relevant Lines: 8415
Covered Lines: 7492
Line Coverage: 89.03%
Coverage Strength: 0.89 hits per line

💛 - Coveralls

@cgobat

cgobat commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Not sure why coveralls is saying this decreased the coverage. Nothing here touched fitter.py where it's complaining.

@jeremyneveu

Copy link
Copy Markdown
Collaborator

More importantly the tests are passing. I am happy to merge the MR now if you're done.

@cgobat

cgobat commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Yep this one's pretty straightforward. I'm ready to go on this.

@jeremyneveu
jeremyneveu merged commit bab5121 into LSSTDESC:master Jun 12, 2026
1 of 2 checks passed
@cgobat
cgobat deleted the bugfix/rotation-error branch June 12, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants