sigviewer icon indicating copy to clipboard operation
sigviewer copied to clipboard

Importing events from CSV does not work

Open marcosinusc opened this issue 7 years ago • 1 comments

I ran into some bugs when loading stored events (stored in csv format) into the sigviewer using the latest build.

Steps to reproduce:

  1. Open SigViewer and load edf file (in our case it was containig multiple EEG channels)
  2. Add a new event and extend it to all channels.
  3. Save the new event by using "Export Events" into a new csv file.
  4. Close the SigViewer.
  5. Reopen the SigViewer and load the edf file from before.
  6. Import the previously saved events.csv file and you will get prompted by a dialogue stating that "Currently customized event text cannot be properly imported".
  7. The start of the saved event is visible on one channel (not all) but the duration is set to zero, as well as the event is listed with "Invalid Channel" in the event list.

When I open the csv file, everything looks normal so far, with entries for start and duration and -1 for channel and so on ... it looks like this: position,duration,channel,type,name 25344,2944,-1,1,condition 1

I've attached you the some screenshots to the problem, I hope you can help me.

Thanks & Kind regards, Marco

eventerrordialogue eventlistoverview eventwithdurationzero

marcosinusc avatar Oct 23 '18 12:10 marcosinusc

Thanks, I can confirm that importing events from CSV does not work. I'll investigate.

cbrnr avatar Oct 29 '18 11:10 cbrnr