Skip to content

The 'prepareFastGapFill' function runs incorrectly #2499

@xxh122

Description

@xxh122

(1) When I follow the tutorial to run
“tic; [consistModel,consistMatricesSUX,BlockedRxns] = prepareFastGapFill(model);
tpre=toc;"
to fill my model's gaps;
An error occurred:
"L=27627
L=5641
L=914
L=494
L=365
L=305
L=259
L=216
L=176
L=143
L=143
L=143
L=136
L=136
Matrix index exceeds deletion range
error prepareFastGapFill (line 154th)
MatricesSUX.MatrixPart(NullRxns==1)=[];"

(2) and than, I try to use a common model(iJO1366) to check if there is a problem with the function or the provided model.In fact, there is no problem with the function, but then I encountered a new problem when I follow the tutorial to run"tgap=toc;
Stats{cnt,i+1} = num2str(length(AddedRxns.rxns));cnt = cnt+1;" An new error occurred:
"The index at position 2 is invalid. The array index must be a positive integer or logical value."

Overall, I would like to know what potential issues my model may have and how I can address the issue of 'invalid index at position 2. Array index must be a positive integer or logical value'. Looking forward to your answer very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions