-
Notifications
You must be signed in to change notification settings - Fork 5
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
Test MNE can read our exports #71
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
teh PR itself looks good but python stuff is failing on nightly for some reason. micromamba seems unhappy. I dunno whether it's worth incurring the additional test dependency on what is generally a flaky thing...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #71 +/- ##
==========================================
- Coverage 95.59% 95.57% -0.02%
==========================================
Files 4 3 -1
Lines 295 294 -1
==========================================
- Hits 282 281 -1
Misses 13 13 ☔ View full report in Codecov by Sentry. |
@testset "Exports readable by MNE" begin | ||
edf = EDF.read(joinpath(DATADIR, "test_float_extrema.edf")) | ||
@test edf.signals[1].header.digital_minimum ≈ -32767.0f0 | ||
edf = @set edf.signals[1].header.digital_minimum = -32767 * 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand what the purpose of this is. If it's necessary for testing a particular behavior, can you add a comment? I think it's the only use of Accessors here so if it's not actually necessary then dropping it would reduce the number of test dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this PR was meant to complement #72 which uses Accessors more extensively in the tests
however I no longer remember what the point of this line is anymore :/
This adds a bunch of test-only dependencies but no runtime deps. This also has no source code changes.