Menu

Problem reading .ept files

Help
S Rgez H
2022-04-26
2022-05-08
  • S Rgez H

    S Rgez H - 2022-04-26

    Dear Dr. Dean

    I get an error message when reading an .ept file resulting from the second step of a two-steps PCA, previously saved.
    The error message when trying to read the file is:

    Index in position 1 exceeds array bounds (must not exceed 1).
    
    Error in ep_addEloc (line 516)
                if ~squeeze(any(any(any(any(sum(EPdataIn.data(EEGchans,:,:,:,:,:,:),1))))))
    
    Error in ep_readData (line 4441)
               [EPdata]=ep_addEloc(whichCED,EPdata.eloc,EPdata.fileFormat,EPdata,silent);
    
    Error in ep>readFiles (line 12626)
            EPdata=ep_readData(inArg);
    
    Error in ep (line 4939)
            readFiles(theHandles,importFormat,dataType);
    
    Error while evaluating UIControl Callback.
    

    I tried it several times with the same result. Note that
    (1) I can read othe .ept files (that with the original data imported from BV, or that with the first-step temporal PCA).
    (2) it occours both in the same work session (once I save the file) and after quit and re-enter Matlab and ERP PCA.
    Sorrry, I am novel using ERP PCA, and I was unsuccessful to find help for this problem at the Tutorial, the Release Notes.pdf or this Help forum.
    I am using MATLAB 2021a, ERP PCA toolkit 2.95

    Thank you for all your help.

     
  • Joe Dien

    Joe Dien - 2022-04-26

    No problem! I'll need a copy of the file.

    Joe

     
  • S Rgez H

    S Rgez H - 2022-04-26

    Thanks,
    Here you are.
    Do you need need the .ced or the .ept with the ERP data files?

     
  • Joe Dien

    Joe Dien - 2022-05-07

    I tried reading it and didn't have any problems. It may be an issue I've already fixed. I'm going to send you a copy of my current beta so you can see if it fixes your problem. I'm getting ready to post a new release in a few days.

     
  • S Rgez H

    S Rgez H - 2022-05-08

    Thank you, Dien! It seems fixed, I can read my .ept files with the new beta-release.

    However, it seems to fail to "Edit" files (only with previously created .ept files: I can edit a new .epet file built with 2.96-beta). The error message is copy below, and one file that I cannot edit is attached.

    Moving to other issue: I am having problems with ANOVA (robust) with between-subjects factors with 2.96-beta. May I open another topic or wait to your new release?


    Unrecognized function or variable 'newHist'.

    Error in ep_updateEPfile (line 515)
    EPdataOut.history=newHist;

    Error in ep_loadEPdataset (line 284)
    EPdata=ep_updateEPfile(EPdata,regenFlag);

    Error in ep_editData (line 497)
    EPoverview.workData=ep_loadEPdataset(EPoverview.dataset);

    Error in ep (line 5275)
    ep_editData

    Error in ep (line 1406)
    ep('startEdit');

    Error while evaluating DestroyedObject Callback.

    Unrecognized function or variable 'newHist'.

    Error in ep_updateEPfile (line 515)
    EPdataOut.history=newHist;

    Error in ep_loadEPdataset (line 284)
    EPdata=ep_updateEPfile(EPdata,regenFlag);

    Error in ep_editData (line 497)
    EPoverview.workData=ep_loadEPdataset(EPoverview.dataset);

    Error in ep>pickEditData (line 9620)
    ep_editData

    Error while evaluating Table CellSelectionCallback.


     
  • Joe Dien

    Joe Dien - 2022-05-08

    Oops! That was part of the backward compatibility code for the History field. Try downloading it again from the link I gave you. It should be fixed now. Yes please do report the ANOVA problem if you're still having it with the beta build. This is the time to do it!

     
  • S Rgez H

    S Rgez H - 2022-05-08

    Thank you for the fast reply! It works fine now.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.