Menu

Reading .study Files

Help
2020-04-14
2020-05-16
  • Harry Stewardson

    Hi,

    I apologise in advance if this has already been answered somewhere before, but I'm having trouble getting EP to read a .study file of mine (attached). When attempting to read it (file format set at ".set/.study", and file type set at "average"), the error is as follows:

    Unrecognized function or variable 'dataType'.

    Error in ep_readData (line 1655)
    mergeArg{file,5}=dataType;

    Error in ep>readFiles (line 11434)
    EPdata=ep_readData(inArg);

    Error in ep (line 4457)
    readFiles(theHandles,importFormat,dataType);

    Error while evaluating UIControl Callback.

    Thanks in advance for your help!

    Kind regards,
    Harry

     
  • Joe Dien

    Joe Dien - 2020-04-17

    Sorry about that! I'm sending you a link to a fix. I'll be posting an update in the next day or so.

    Joe

     
  • Harry Stewardson

    Thanks Joe! I'll give it a go and keep an eye out for the update.

    Kind regards,
    Harry

     
  • Harry Stewardson

    Hi Joe,

    Sorry to bother you again, but I appear to still be having an issue loading this .study file in EP. I'm now using your newer update, and the error reads slightly differently this time around:

    Unable to perform assignment with 0 elements on the right-hand side.

    Error in ep_mergeEPfiles (line 213)
    specSuffix=files{1,evtSpec+1};

    Error in ep_readData (line 1693)
    [EPdata]=ep_mergeEPfiles(mergeArg,mergeName);

    Error in ep>readFiles (line 11688)
    EPdata=ep_readData(inArg);

    Error in ep (line 4554)
    readFiles(theHandles,importFormat,dataType);

    Error while evaluating UIControl Callback.

    I had the same problem with the temporary fix you sent me. I feel like it must be something I'm doing wrong my end, but can't think what.

    Thanks again for your time and help!

    Kind regards,
    Harry

     
  • Joe Dien

    Joe Dien - 2020-05-13

    Hi Harry, no prob! This is a very complex file format. In order to troubleshoot I'll need a copy of your file and a screenshot of your EP Toolkit settings and the ver output. If you're talking about the .study file you provided earlier, you also need to provide the .set files that go along with it. Basically you need to send me everything that EEGlab needs to load the data.

     
  • Joe Dien

    Joe Dien - 2020-05-14

    Hi Harry, sorry for these problems. The maxColors error is a bug that was reported to me right after I posted the release. It only affects new installs. I'm going to have to add that case to my testing script. Anyway, I reposted 2.89 (as 2.891) right afterwards so if you redownload the EP Toolkit, it'll be solved. As for the problem with the EEG files, I'd have to click on each and every file individually to download all of these. Could you please package them all into a single .zip file? If you don't know how to zip files, tell me what OS you're using and I could give you some tips.

     
  • Harry Stewardson

    Oops! Sorry. I've attached a .zip with it all in to this message.

     
  • Joe Dien

    Joe Dien - 2020-05-15

    If you read the EP Toolkit tutorial, the bug report section tells you how to take screenshots. In this case all I really need to know is whether you were indicating that this was an average file or a single-trial file. I was able to proceed anyway and fix the problem. I'm e-mailing you the fix.

     
  • Harry Stewardson

    Ah I see, I'll be sure to do that if things go wrong again at any point. I've received the fix and it works wonders, thanks ever so much for all your help!

     

Log in to post a comment.