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

Feature/es 563 get range indices fix #138

Merged
merged 7 commits into from
Jun 15, 2023

Conversation

StokesMIDE
Copy link
Member

Fixes an issue with getting ranges with start and/or end times falling between ChannelDataBlocks. Also made getting an index for a time more reliable.

Problem lies in timestamp generation: times at ChannelDataBlock indices don't match block's start/end times!
@codecov-commenter
Copy link

codecov-commenter commented Jun 1, 2023

Codecov Report

Merging #138 (2852f66) into develop (2e987d3) will decrease coverage by 0.21%.
The diff coverage is 76.19%.

@@             Coverage Diff             @@
##           develop     #138      +/-   ##
===========================================
- Coverage    74.48%   74.28%   -0.21%     
===========================================
  Files           10       10              
  Lines         3680     3690      +10     
===========================================
  Hits          2741     2741              
- Misses         939      949      +10     
Impacted Files Coverage Δ
idelib/dataset.py 79.74% <76.19%> (-0.58%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@StokesMIDE
Copy link
Member Author

This needs unit tests of the range-getting functions before it can be approved. Not having them got us into this mess in the first place.

@StokesMIDE StokesMIDE marked this pull request as draft June 13, 2023 19:22
Added minor fix for a couple `EventArray` methods with no data
Removed some apparently unused CSV files from tests (may need to restore later)
@StokesMIDE StokesMIDE marked this pull request as ready for review June 13, 2023 21:23
@StokesMIDE StokesMIDE merged commit a5d2158 into develop Jun 15, 2023
@StokesMIDE StokesMIDE deleted the feature/ES-563_getRangeIndices_fix branch June 15, 2023 20:40
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