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

Importing events from CSV does not work #113

Open
marcosinusc opened this issue Oct 23, 2018 · 1 comment
Open

Importing events from CSV does not work #113

marcosinusc opened this issue Oct 23, 2018 · 1 comment

Comments

@marcosinusc
Copy link

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

@cbrnr
Copy link
Owner

cbrnr commented Oct 29, 2018

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

@cbrnr cbrnr changed the title Bug with incorrect duration and channel description when reloading events Importing events from CSV does not work Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants