You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
osp_fitInitialise variously mixes char and cell array data types for MRSCont.opts.fit.basisSetFile, causing it to fail when using a basis set is supplied in .BASIS format:
Brace indexing is not supported for variables of this type.
Error in osp_fitInitialise (line 345)
basisSetFile{1} = MRSCont.opts.fit.basisSetFile{1};
To Reproduce
Steps to reproduce the behavior:
Create a new job for unedited sequence, LCModel method, and basis set in .BASIS format
I just tried the same procedure but with MEGA-edited data (so, interactive jobfile generator, sequence type MEGA)... "basis set file" only lets me add one BASIS file at a time, but "basis set folder" behaves correctly (I guess this is later expanded to a cell)
Describe the bug
osp_fitInitialise
variously mixes char and cell array data types forMRSCont.opts.fit.basisSetFile
, causing it to fail when using a basis set is supplied in .BASIS format:To Reproduce
Steps to reproduce the behavior:
Possible workaround
Convert MRSCont.opts.fit.basisSetFile to a cell array around line 340 of osp_fitInitialise
The situation probably gets more complicated if using LCM BASIS-format basis sets for edited data (where multiple basis sets would be expected).
The text was updated successfully, but these errors were encountered: