Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot import file and potential fix #4

Open
arnodelorme opened this issue Dec 10, 2019 · 0 comments
Open

Cannot import file and potential fix #4

arnodelorme opened this issue Dec 10, 2019 · 0 comments

Comments

@arnodelorme
Copy link
Collaborator

Transfered from Bugzilla https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1908

Ramon Martinez-Cancino 2016-08-04 17:22:48 PDT
Hi Christian,
I hope this email finds you well.
We've received this report on Bugzilla about an issue with load_xdf.m. As this belong to one plugin you wrote I'm FW-ing it (although I'm not sure if you are still taking care of it)
I made some testings and the thing is that in line 424 of load_xdf.m, the output of the min() is zero since
find([abs(remaining_data-cur_end_time) > abs(remaining_data-next_begin_time),true],1)-1

is zero too when using this data.I tried taking the next point that is not zero from the min() by taking the two first minimum values and checking if the first one is zero or not, and seems to work (at least does not crash). Can you take a look into this, please.

Thanks in advance,

Ramon
[reply] [−]DescriptionAaron 2016-06-29 07:08:19 PDT
"EEGLAB error in function load_xdf() at line 424: subscript indices must either be real positive integers or logicals."

Trying to import a file and cannot get past this step. Worked previously with same devices - now it is rejected. Unsure of the reasons.

File can be downloaded at: https://we.tl/iMwQb94j8W

In a slight rush to analyse data and I ca't access anything at the moment.

Many thanks and appreciate any help you can offer!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant