Please include a short description of problem here
The documentation for addReaction says that checkDuplicate default is set to false.
However, line 164
parser.addParameter('checkDuplicate',1, @(x) isnumeric(x) || islogical(x));
sets checkDuplicate as 1.
This is problematic when adding lots of reactions, since lines 307-308 check for duplicates and take most of the running time of the function.
I'm not submitting a pull request, since my git tree is messed up right now, and I'm trying to solve it.
I hereby confirm that I have:
[X] Retried to run my code with the latest version of The COBRA Toolbox
[X] Checked that a similar issue has not already been opened
(Note: You may replace [] with [X] to check the box)
Please include a short description of problem here The documentation for addReaction says that checkDuplicate default is set to false. However, line 164 parser.addParameter('checkDuplicate',1, @(x) isnumeric(x) || islogical(x)); sets checkDuplicate as 1. This is problematic when adding lots of reactions, since lines 307-308 check for duplicates and take most of the running time of the function.
I'm not submitting a pull request, since my git tree is messed up right now, and I'm trying to solve it.
I hereby confirm that I have:
(Note: You may replace [] with [X] to check the box)