GE P-file header revision 28.002 and "GELoad" function

Dear all,
I am trying to preporcess GE MRS data with Osprey, and i got the following error:

"
Unrecognized function or variable
‘rdb_hdr_dab_stop_rcv’.
Error in GELoad (line 287)
hdr_value = fread(fid, rdb_hdr_dab_stop_rcv,
‘integer*2’);
Error in io_loadspec_GE (line 30)
[GEout,GEout_w,GEhdr]=GELoad(filename);
Error in osp_LoadP (line 46)
[raw, raw_ref] =
io_loadspec_GE(MRSCont.files{kk},1);
Error in OspreyLoad (line 91)
[MRSCont] = osp_LoadP(MRSCont);
Error in osp_onLoad (line 32)
MRSCont = OspreyLoad(MRSCont);
Error while evaluating UIControl Callback.
"
After chechikng the DV versionof the P-file, i think that the “GELoad” function is not updated with the header revision 28.002.
Could you please help me to fix this?

Thank you in advance.
Best regards,
Salem

Hi Salem,

Yes, that sounds about right. Can you attempt to de-identify an example (phantom, if you have) dataset and send it to us so we can try and get the new header revision to work?

cc-ing @Helge as well.

Best,
Georg

Hi @Georg,
Thank you so much, I will send you an email.
Best,
Salem

@admin, @Helge, I’ve sent a pull request to the Osprey repo that should solve this issue.

2 Likes

Thanks so much, @mmikkel - that is awesome! Just merged!

@Salem can you try with the latest commit on the develop branch of Osprey? We’ll likely tag a new release soon, but give us feedback first please whether it works for your file.

2 Likes

Dear @admin,
Dear @mmikkel,
Thank you sincerely for your precious help, it worked perfectly.

Best regards,
Salem

2 Likes