Skip to content

[FIX] Fixing template string on electrodes for eeg and ieeg.#650

Merged
sappelhoff merged 2 commits intobids-standard:masterfrom
adam2392:elecs
Oct 29, 2020
Merged

[FIX] Fixing template string on electrodes for eeg and ieeg.#650
sappelhoff merged 2 commits intobids-standard:masterfrom
adam2392:elecs

Conversation

@adam2392
Copy link
Copy Markdown
Member

Summary

Closes: #649

Fixes the template strings in the modality-specific spec to match that of https://bids-specification.readthedocs.io/en/stable/99-appendices/04-entity-table.html#encephalography-eeg-ieeg-and-meg

@adam2392 adam2392 requested a review from sappelhoff as a code owner October 22, 2020 18:02
Co-authored-by: Stefan Appelhoff <stefan.appelhoff@mailbox.org>
@sappelhoff
Copy link
Copy Markdown
Member

This is in accordance with the entity table: https://bids-specification.readthedocs.io/en/latest/99-appendices/04-entity-table.html#encephalography-eeg-ieeg-and-meg ... so this is truly a fix.

unfortunately, as discussed in this issue comment, the validator is not precise enough to validate this. So the validator will still accept files like: *_task-Nonsense_electrodes.tsv. There is a similar issue here: https://github.com/bids-standard/bids-validator/issues/848

Still +1 to merge, then adjust mne-bids (mne-tools/mne-bids#604), and then eventually improve the validator (better sooner than later)

@sappelhoff sappelhoff merged commit 14263cf into bids-standard:master Oct 29, 2020
@sappelhoff
Copy link
Copy Markdown
Member

Thanks @adam2392

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.

Templating issue: should electrodes.tsv and coordsystem.json writing per eeg/ieeg only have certain entities?

2 participants