Skip to content
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

minor bug?: electrodes.tsv and coordsystem.json writing per eeg/ieeg should only have certain entities #592

Closed
adam2392 opened this issue Oct 22, 2020 · 2 comments · Fixed by #604
Labels
bids bids-validator needs interaction with https://github.com/bids-standard/bids-validator

Comments

@adam2392
Copy link
Member

Describe the problem

According to the spec: https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/04-intracranial-electroencephalography.html#electrode-description-_electrodestsv

ieeg can have subject/session/space for electrodes.tsv.

while eeg can have subject/session/acquisition/run for electrodes.tsv (and maybe space?)

https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/03-electroencephalography.html#electrodes-description-_electrodestsv

Is this correct?

Describe your solution

If the above is correct, then I can modify _write_dig_bids() accordingly.

Additional context

The more I read the spec sometimes, the more I'm not sure if I have the correct understanding :p so lmk if that is how it should be interpreted.

@sappelhoff
Copy link
Member

That sounds like an issue for bids-standard/bids-specification. We'd have to look in the entity table and potentially fix the "templates". Also looking at the validator regexps would be helpful ... and finally common sense and then fix spec/validator/mne-bids --> 🙂 🙂 🙂 🙂 🙂

@adam2392
Copy link
Member Author

Okay then the issue based on bids-standard/bids-specification#649

is that a PR should refactor so that way subject/session/acquisitoin/space are the only things written in electrodes/coordsystem for eeg/ieeg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bids bids-validator needs interaction with https://github.com/bids-standard/bids-validator
Projects
None yet
3 participants