Repository navigation
Fix RANSAC-breaking bug in RANSAC correlation window chunking code - #67
Conversation
Codecov Report
@@ Coverage Diff @@
## master #67 +/- ##
=========================================
Coverage ? 97.00%
=========================================
Files ? 7
Lines ? 568
Branches ? 0
=========================================
Hits ? 551
Misses ? 17
Partials ? 0
Continue to review full report at Codecov.
|
|
What's absolutely wild to me is that the RANSAC unit tests still worked totally fine despite this bug. If you can think of an improved method of unit-testing RANSAC, I can add that to this PR request as well: otherwise, we can just wait for the testing-vs-MATLAB CI updates. |
sappelhoff
left a comment
There was a problem hiding this comment.
I don't have an idea for a unit test right now ... currently I am fully relying on your local tests against Matlab PREP :)
it'd be great to get those tests online soon.
The best would of course be to do that directly in CI, as we discuss in #49
PR Description
Partially addresses #41 and #65. Basically, the existing code incorrectly splits the full EEG data into window-sized chunks for RANSAC correlation. For convenience I'm copying my explanation/illustration from #65 below:
The current PR fixes things to work as intended.
Merge Checklist
closes #<issue-number>to automatically close an issue