You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
read_raw_eyelink (which reads ASCII files in a tabular structure), assumes that a certain column that contains warnings (tracker droput etc) for each sample is always present. As the the researcher in the forum has shown, this is not the case for their data.
The info in this column isn't currently used by read_raw_eyelink, so we could change the reader to disregard the column entirely. Or, if we think we will enhance the reader in the future to use the information in this column, we could try to make it smart enough to emit a warning when the column isn't present.
I think I will shift my attention this week to this bug and #11758, since improving this reader and adding more tests is something that we wanted to complete this summer.
If we don't use it currently I would discard it for now with a code comment mentioning its presence but (current) lack of use by us, mentioning what you do here about how we could someday make the code smarter to handle its presence properly
I think this fix will require some refactoring (which I think we should do anyways per #11758 ). Is it okay with you if I bundle a PR for #11758 and this bug fix together?
Description of the problem
Per the discussion in this thread: https://mne.discourse.group/t/problem-with-read-raw-eyelink/7243/9
read_raw_eyelink
(which reads ASCII files in a tabular structure), assumes that a certain column that contains warnings (tracker droput etc) for each sample is always present. As the the researcher in the forum has shown, this is not the case for their data.The info in this column isn't currently used by
read_raw_eyelink
, so we could change the reader to disregard the column entirely. Or, if we think we will enhance the reader in the future to use the information in this column, we could try to make it smart enough to emit a warning when the column isn't present.I think I will shift my attention this week to this bug and #11758, since improving this reader and adding more tests is something that we wanted to complete this summer.
Steps to reproduce
Link to data
https://drive.google.com/file/d/1QQbimGsPpc58WgJCQ91K9AyQ2oveNzpA/view?usp=sharing
Expected results
To read the file successfully
Actual results
Additional information
See link to the discourse thread.
The text was updated successfully, but these errors were encountered: