ICB-DCM / PESTO

PESTO: Parameter EStimation TOolbox, Bioinformatics, btx676, 2017.
https://doi.org/10.1093/bioinformatics/btx676
BSD 3-Clause "New" or "Revised" License
26 stars 12 forks source link

getParameterProfiles produces error when fixed parameters are incorporated #193

Closed kjnousia closed 5 years ago

kjnousia commented 5 years ago

There are six free parameters and four fixed ones. Running line

parameters = getParameterProfiles(parameters, objectiveFunction, optionsPesto);

Produces the error below. Please, help me to overcome this issue.

Matrix index is out of range for deletion.

Error in objectiveWrap (line 29) freeInd(fixedTheta) = [];

Error in setObjectiveWrapper>@(theta)objectiveWrap(theta,objective_function,wrapperOptions) (line 49) wrapperFunction = @(theta) objectiveWrap(theta,objective_function,wrapperOptions);

Error in getNextProfilePoint (line 67) J = obj(theta);

Error in getParProfilesByOptimization>optimizeProfileForParameterI (line 246) getNextProfilePoint(theta,theta_min,theta_max,dtheta/abs(dtheta(iPar)),...

kjnousia commented 5 years ago

Found my mistake. Please, ignore the request.