Problems loading .IMA data


Firstly, thank you so much for creating this program. I am a novice in MRS and the fact that this program has a clear pipeline and does tissue and relaxation correction is amazing.

I am having trouble loading my .IMA 30TE PRESS files through the GUI. I ran the TWIX example and everything worked perfectly but when I try to load my .IMA files, I get the following error message:

"Error using fgets
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in read_dcm_header (line 29)
tline = fgets(fid); % get first line

Error in io_loadspec_dicom (line 32)
DicomHeader = read_dcm_header(filesInFolder{1});

Error in osp_LoadDICOM (line 71)
raw = io_loadspec_dicom(MRSCont.files{kk});

Error in OspreyLoad (line 66)
[MRSCont] = osp_LoadDICOM(MRSCont);

Error in osp_onLoad (line 32)
MRSCont = OspreyLoad(MRSCont);

Error while evaluating UIControl Callback."

Any help/advice would be greatly appreciated.