Description
Dear all,
I want to find some interventions applied to a strain by using optforce.The model I used is iJO1366 of E.coli,and the objective is trptophan.It is successful.But when I change the objective to lysine,it shows some errors when I run '[mustLSet, pos_mustL] = findMustL(model, minFluxesW, maxFluxesW, 'constrOpt', constrOpt, 'runID', runID, 'outputFolder', 'OutputsFindMustL', 'outputFileName', 'MustL' , 'printExcel', 1, 'printText', 1, 'printReport', 1, 'keepInputs', 1, 'printLevel', 3)'.
The error is:
Operands to the || and && operators must be convertible to logical scalar values.
Error in changeObjective (line 39)
if (isempty(rxnID) || rxnID == 0)
Error in findMustL (line 297)
model2 = changeObjective(model, model.rxns(pos_actives));
I wonder what cause it?
Thanks!
Activity