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

Raise good error message in case border slices removed by EVB #228

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Jul 29, 2024

Fixes #227

We do support reading reduced data in case we do not need to apply DRS4 corrections and we decided not to support the mixed case.

So I just added a clear error message for the unsupported case of trying to apply DRS4 corrections to data with removed samples.

Copy link

codecov bot commented Jul 29, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 90.93%. Comparing base (a145edd) to head (55f74de).

Files Patch % Lines
src/ctapipe_io_lst/__init__.py 50.00% 4 Missing ⚠️
src/ctapipe_io_lst/calibration.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #228      +/-   ##
==========================================
- Coverage   91.13%   90.93%   -0.20%     
==========================================
  Files          23       23              
  Lines        2571     2581      +10     
==========================================
+ Hits         2343     2347       +4     
- Misses        228      234       +6     

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

@maxnoe maxnoe requested review from moralejo and morcuended July 29, 2024 11:05
@maxnoe maxnoe merged commit 43ee740 into main Jul 29, 2024
8 of 10 checks passed
@maxnoe maxnoe deleted the explicit_error branch July 29, 2024 14: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.

Change number of samples to 36 for dealing with new data format from EVB v6.5+
2 participants