EEG2BIDS Wizard: a tool for converting raw EEG and iEEG data into the BIDS standard data structure, prepared for LORIS (Longitudinal Online Research and Imaging System).
MIT License
7
stars
10
forks
source link
temporary fix for problem debugged with jesscall #80
This PR is a temporary solution for the problem debugged with @jesscall. The code for this portion needs to be changed for potential edge cases of the events.tsv file that the user supplies. Example: column headers could not be in the assumed correct order and optional columns could exist that we're currently not handling.
The edge cases that will need to be solved and brought up in that EEG meeting are the following..
The order of the user supplied events.tsv “columns” could be different/mixed.
The optional values could be supplied by the user and code logic needs to account for them.
The BIDS generation can potentially make it’s own events.tsv file and that can be different than the user’s supplied events.tsv file. So the logic has to be able to handle refining the columns order and conflicts like lack of columns or extra columns.
Brief summary of changes
This PR is a temporary solution for the problem debugged with @jesscall. The code for this portion needs to be changed for potential edge cases of the events.tsv file that the user supplies. Example: column headers could not be in the assumed correct order and optional columns could exist that we're currently not handling.
The edge cases that will need to be solved and brought up in that EEG meeting are the following..
The order of the user supplied events.tsv “columns” could be different/mixed.
The optional values could be supplied by the user and code logic needs to account for them.
The BIDS generation can potentially make it’s own events.tsv file and that can be different than the user’s supplied events.tsv file. So the logic has to be able to handle refining the columns order and conflicts like lack of columns or extra columns.
Link(s) to related issue(s)