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

Fix issue #224: calcos bug when more than 2 wavecals #225

Merged
merged 3 commits into from
Jun 2, 2023

Conversation

stscirij
Copy link
Contributor

This PR fixes #224, also corrects the units for the error_lower in the x1dsum file from count/s to erg/cm^2/sec/Angstrom.

that was arising when an LP6 association has more than 1 exposure
and associated pair of wavecals for a given grating/cenwave/fp-pos
setting
@stscirij stscirij requested a review from a team as a code owner May 31, 2023 20:22
@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.46 🎉

Comparison is base (0bc435f) 87.17% compared to head (05c988b) 87.63%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #225      +/-   ##
==========================================
+ Coverage   87.17%   87.63%   +0.46%     
==========================================
  Files          17       17              
  Lines        1333     1391      +58     
==========================================
+ Hits         1162     1219      +57     
- Misses        171      172       +1     
Flag Coverage Δ
unit 87.63% <ø> (+0.46%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 6 files with indirect coverage changes

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

Copy link
Collaborator

@stenhasselquist stenhasselquist left a comment

Choose a reason for hiding this comment

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

The CalCOS team has tested these changes and approves. The RTD build fail was explained.

@stscirij stscirij merged commit c7bd88d into spacetelescope:master Jun 2, 2023
13 of 14 checks passed
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.

CALCOS bug shows when there are >2 wavecals in an LP6 association
2 participants