ucdavis / erplab

ERPLAB Toolbox is a free, open-source Matlab package for analyzing ERP data. It is tightly integrated with EEGLAB Toolbox, extending EEGLAB’s capabilities to provide robust, industrial-strength tools for ERP processing, visualization, and analysis. A graphical user interface makes it easy for beginners to learn, and Matlab scripting provides enormous power for intermediate and advanced users.
http://erpinfo.org/erplab
271 stars 73 forks source link

Missing Event Info after loading a second file #194

Open andyleynes opened 4 months ago

andyleynes commented 4 months ago

I am using the Estudio version 11.03 (latest version of EEGLab) to reprocess some data. I am loading continuous EEG files that have been resampled, filtered, and event info has been added. I then create epochs, perform ICA, check for artifacts, form ERPs etc.

When I am ready to process the next subject's data, I clear each EEG data set from Estudio. I then load the next ".set" file and the event information is not loaded. When I look in "EEG and Bin Info" the "set name" and "file name" fields are blank and the event info is blank. If I close Estudio, restart it, and reload the data the event info is there. Something is not working properly. The previous version of Estudio (11.02?) did not have the same issue.

Separate request for the future: it would be nice to have a "clear all" in the EEG window rather than having to clear multiple open data sets.

davidg622 commented 4 months ago

Hello,

Thank you for bringing this issue to our attention. Unfortunately, I haven't been able to reproduce the problem on my end. Could you please provide more details about your setup? Specifically, I'd like to know your MATLAB version and the operating system you're using.

Additionally, just to clarify, you can clear multiple .set files by selecting several of them before pressing "clear."

Best regards, David

andyleynes commented 4 months ago

Hi David, Matlab version R2021a, eeglab 2024.0, windows 10.2205 x64.

Thanks for the tip about clearing files. I tried that (maybe ver 11.02?) and it didn't work. But it does now! And I don't experience the missing event info when I clear multiple EEG files in one click but it does happen when you press 'clear' multiple times (I have 8 files open at the end). That should narrow the problem.

On Mon, Jul 22, 2024, 1:49 PM David Railton Garrett < @.***> wrote:

Hello,

Thank you for bringing this issue to our attention. Unfortunately, I haven't been able to reproduce the problem on my end. Could you please provide more details about your setup? Specifically, I'd like to know your MATLAB version and the operating system you're using.

Additionally, just to clarify, you can clear multiple .set files by selecting several of them before pressing "clear."

Best regards, David

— Reply to this email directly, view it on GitHub https://github.com/ucdavis/erplab/issues/194#issuecomment-2243497364, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5SAZ5IYNGMRV6X33ALD3DZNVA2LAVCNFSM6AAAAABLISPPBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTGQ4TOMZWGQ . You are receiving this because you authored the thread.Message ID: @.***>

davidg622 commented 4 months ago

Hello,

I attempted to recreate the issue using the "clear" function as you described on both my macOS and Windows 10 systems. Unfortunately, I was unable to replicate the problem. The next step would be for you to send us some sample data so we can better isolate the issue. Please email it to me at drgarrett@ucdavis.edu.

Thank you, David

andyleynes commented 4 months ago

David, I sent data to your email. Something else I learned. I have 8 different epoched EEG files at the end. If I select multiple EEG files to clear, the equations in the channel operations window clear and present a red error message that the channels must match. This disappears when you clear the files.

Also the loss of bin information happens if you first delete 1 of the 8 EEG files and then delete the rest with one click. The key seems to be that first click on clear EEG file with multiple files. I didn't get the error with only 2 EEG files open.

On Mon, Jul 22, 2024, 4:38 PM David Railton Garrett < @.***> wrote:

Hello,

I attempted to recreate the issue using the "clear" function as you described on both my macOS and Windows 10 systems. Unfortunately, I was unable to replicate the problem. The next step would be for you to send us some sample data so we can better isolate the issue. Please email it to me at @.***

Thank you, David

— Reply to this email directly, view it on GitHub https://github.com/ucdavis/erplab/issues/194#issuecomment-2243772736, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5SAZ3XE4QUMRODHZPPC23ZNVUSZAVCNFSM6AAAAABLISPPBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTG43TENZTGY . You are receiving this because you authored the thread.Message ID: @.***>

guanghuizhang0328 commented 4 months ago

David, I sent data to your email. Something else I learned. I have 8 different epoched EEG files at the end. If I select multiple EEG files to clear, the equations in the channel operations window clear and present a red error message that the channels must match. This disappears when you clear the files. Also the loss of bin information happens if you first delete 1 of the 8 EEG files and then delete the rest with one click. The key seems to be that first click on clear EEG file with multiple files. I didn't get the error with only 2 EEG files open. On Mon, Jul 22, 2024, 4:38 PM David Railton Garrett < @.> wrote: Hello, I attempted to recreate the issue using the "clear" function as you described on both my macOS and Windows 10 systems. Unfortunately, I was unable to replicate the problem. The next step would be for you to send us some sample data so we can better isolate the issue. Please email it to me at @. Thank you, David — Reply to this email directly, view it on GitHub <#194 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5SAZ3XE4QUMRODHZPPC23ZNVUSZAVCNFSM6AAAAABLISPPBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTG43TENZTGY . You are receiving this because you authored the thread.Message ID: @.***>

Hi,

This (i.e., a red error message) will occur if the number of channels or bins varies across the selected EEGsets/ERPsets. We check these information because we allow to process multiple EEGsets/ERPsets. Hope this will help.

Best, Guanghui