Closed dschreij closed 9 years ago
Try unchecking Output Input Values in the EDF Converter when you convert your .edf to .asc.
So sorry for the slow response! Did nccanderson's suggestion help? If so, I'll add it to the documentation.
Closing for now... please hit me up again if the issue persists!
Opening this up again. I have been playing with this great project and I am having the same problem as dschreij and my file never had output input values checked. I also tried checking it but no luck. The files are here:
And here the error messages:
KeyError Traceback (most recent call last)
re-opening
@fusaroli @dschreij Closed. Sorry for the delay dschreij - I wasn't sure whether nccanderson's suggestion addressed your issue.
For the record, two things were going on. First, we weren't looking for the input column. Second, we weren't looking for several columns that only show up in remote recording .asc files. Both issues have been addressed, and I'm able to parse your file.
Now it works. Thanks
Great!
On Jul 8, 2015, at 4:25 AM, Riccardo Fusaroli notifications@github.com wrote:
Now it works. Thanks
― Reply to this email directly or view it on GitHub.
Hi! To begin with: great project! I only have trouble reading in in ascii files because it crashes with KeyError: "onset" in the process. Here's a traceback
If you want, I can send you one of the .asc files to reproduce the error. There are no variables in my ascii files named "onset" (nor does it occur in any other form in there). I dove into the util.py folder and saw that you pass "onset" as the argument of index_col for pandas' read_csv function, but is this variable also created in the pandas_dfs_from_asc() function? I see you explicitly assigning "onset" as the index name in pandas_df_from_txt() (line 183), but not in the former function.