-
Notifications
You must be signed in to change notification settings - Fork 187
[ENH] Clarify that electrodes.tsv are REQUIRED for iEEG data #1896
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
Merged
effigies
merged 5 commits into
bids-standard:master
from
effigies:ieeg/require-electrodes
Jun 4, 2025
Merged
[ENH] Clarify that electrodes.tsv are REQUIRED for iEEG data #1896
effigies
merged 5 commits into
bids-standard:master
from
effigies:ieeg/require-electrodes
Jun 4, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1896 +/- ##
=======================================
Coverage 88.10% 88.10%
=======================================
Files 16 16
Lines 1396 1396
=======================================
Hits 1230 1230
Misses 166 166 ☔ View full report in Codecov by Sentry. |
This was referenced Aug 20, 2024
377c777
to
bd6ee0e
Compare
bd6ee0e
to
d9a4e52
Compare
sappelhoff
approved these changes
May 30, 2025
dorahermes
approved these changes
Jun 4, 2025
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.
lgtm!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The original iEEG spec intended electrodes.tsv to be REQUIRED, but the language was unintentionally softened during the inclusion in BIDS. This PR clarifies the language, and adds a validation rule to enforce the presence of electrodes.tsv files. Paired with bids-standard/bids-validator#207, this will support detecting multiple electrodes.tsv files that are distinguished by the
space-<label>
entity.This PR also adds a check that each electrodes.tsv file has a corresponding coordsystem.json file. This was already enforced for optodes.tsv in NIRS datasets, but was missing for electrodes.tsv in *EG datasets.
This follows extensive discussion in bids-standard/bids-validator#206.
Closes #1854.