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

HOTFIX to SlitTraceBitMask #1848

Merged
merged 3 commits into from
Sep 6, 2024
Merged

HOTFIX to SlitTraceBitMask #1848

merged 3 commits into from
Sep 6, 2024

Conversation

debora-pe
Copy link
Collaborator

@debora-pe debora-pe commented Aug 31, 2024

This is an hotfix to SlitTraceBitMask but was causing the spatial flexure process to not being able to find the shift.

I'll still run the tests to make sure that the problem is fixed in every dataset.

Hopefully, this resolves issue #1843

@codecov-commenter
Copy link

codecov-commenter commented Aug 31, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 38.03%. Comparing base (bd77c38) to head (2739521).

Files with missing lines Patch % Lines
pypeit/slittrace.py 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1848   +/-   ##
========================================
  Coverage    38.03%   38.03%           
========================================
  Files          211      211           
  Lines        48975    48975           
========================================
+ Hits         18626    18627    +1     
+ Misses       30349    30348    -1     

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

@rcooke-ast rcooke-ast self-requested a review August 31, 2024 06:53
Copy link
Collaborator

@rcooke-ast rcooke-ast left a comment

Choose a reason for hiding this comment

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

Well caught!!

Copy link
Collaborator

@profxj profxj left a comment

Choose a reason for hiding this comment

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

one thing to chew on.
might be good to have @kbwestfall 's input too

pypeit/slittrace.py Show resolved Hide resolved
Copy link
Collaborator

@profxj profxj left a comment

Choose a reason for hiding this comment

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

good good

@debora-pe
Copy link
Collaborator Author

Thanks for the reviews. Unfortunately this fixed only one cause of the failed spatial flexure. I'm working on improving the spatial flexure calculation, but I'll have another PR for that. I am merging this for now.

@debora-pe debora-pe merged commit b6e5e6e into develop Sep 6, 2024
23 checks passed
@debora-pe debora-pe deleted the fix_spatflex branch September 6, 2024 19:02
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.

5 participants