-
Notifications
You must be signed in to change notification settings - Fork 90
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
ENH: Better error message #1080
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1080 +/- ##
=======================================
Coverage 95.19% 95.19%
=======================================
Files 24 24
Lines 3847 3847
=======================================
Hits 3662 3662
Misses 185 185
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
CI failure is coverage, but I'm not sure there is a good way to test this, unless it's easy to fake a BIDS dataset that should have an associated empty-room data based on its sidecar but doesn't... |
Nice testing infrastructure, it was easy 👍 |
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.
Nice and clean, thanks @larsoner!
* ENH: Better error message * FIX: Beautiful infrastructure * FIX: Spacing
* avoid creating many Annotations objects in for loop (#1079) * ENH: Better error message (#1080) * ENH: Better error message * FIX: Beautiful infrastructure * FIX: Spacing * ENH: Improve error message (#1081) * ENH: Improve error message * FIX: Use working openneuro-py * FIX: Install * FIX: Name * ENH: Make suggestion (#1087) * MRG: Enforce specification of all annotation descriptions in event_id if event_id is passed to write_raw_bids() (#1086) * Write all annotations even if event_id was passed * Implement new logic * Update changelog * Fix tests * Style * REL: v0.11.1 Co-authored-by: Alexandre Gramfort <[email protected]> Co-authored-by: Eric Larson <[email protected]> Co-authored-by: Richard Höchenberger <[email protected]>
Running MNE-BIDS-Pipeline I got a slightly cryptic error:
I realized the problem with my dataset (I excluded some files while downloading), but I think this new error message would have helped: