@AlexB received the following error after updating to the latest Osprey version (develop branch). Should we add an if-statement to read_dcm_header to check if lScanRegionPosTra exists? And if it doesn’t exist, is there a value that we should set it to?
Thanks!
Meredith
Unrecognized field name "lScanRegionPosTra".
Error in read_dcm_header (line 188)
DicomHeader.TablePosTra = dcmHeader.lScanRegionPosTra; % Transversal table position [mm]
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in io_loadspec_dicom (line 99)
DicomHeader = read_dcm_header(filesInFolder{1});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in osp_LoadDICOM (line 67)
raw = io_loadspec_dicom(MRSCont.files{metab_ll,kk});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in OspreyLoad (line 201)
[MRSCont] = osp_LoadDICOM(MRSCont);
^^^^^^^^^^^^^^^^^^^^^^
Error in k01_06a_mrs_analysis (line 12)
MRSCont = OspreyLoad(MRSCont);
^^^^^^^^^^^^^^^^^^^