Hi everyone,
I have the following problem:
working with the attached model from
Cheung et al. (2013,
) I introduce a ratio reaction with
>> model = addRatioReaction(model, {'NO3_tx', 'NH4_tx'},[1, 1]);
then after running
>> optimizeCbModel(model,'min','one')
I get the following errors:
Error using horzcat
Dimensions of arrays being concatenated are not consistent.
Error in optimizeCbModel (line 313)
LPproblem2.A = [LPproblem.A sparse(nMets,2*nRxns);
As far as I can tell there is a dimensions problem: where LPproblem.A is [2619x2769 double] and nMets is 2618, and nRxns is 2769
This error does not occur with the original version of the function addRatioReaction.
Has anyone else experienced something of the sort?
Thanks for your time
Jorge