I try to run a job using one of the basis sets provided with Osprey and encounter the error "Unrecognized field name “specs” " at line 45 of fit_sortBasisSet:
basisSetOut.specs(:,actBasisFnct, = basisSetIn.specs(:,idx,:);
Basically, the field name ‘specs’ is not there. When I look through the included basis sets, none of them seem to have that field. I tried both letting Osprey guessing the basis set and defining it explicitly - it loads the correct basis file (3T → GE → PRESS → 30ms).
What could be the cause of this? (I am using the latest github code as of yesterday).
Can you confirm for me that you have downloaded the most recent version from the develop branch?
We recently introduced a function to re-calculate the ‘specs’ field during the fit. Can you look into the osp_fitInitialise.m function and look for the following line
Yes you are right. It seems that I messed up when upgrading Osprey earlier. That piece of code was indeed missing, I deleted everything and redownloaded and now its there and everything seems to work.