cobratoolbox
cobratoolbox copied to clipboard
Function out of work findRxnsFromMets.m
findRxnsFromMets.m
The function aways give me either first rxn from the model.rxn or a list of rxn does not match input.
After I looking into the code, it seems that there might be some error in the code:
In Line 102 rxnList = model.rxns(totals > 0 & rels)
here total>0 & rels can in no way index for rxnList from model.rxn
I hereby confirm that I have:
- [ x ] Tried to solve the issue on my own
- [ 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)
Hi, This problem is resolved in the develop branch. Please use the develop branch until the next merging into the master branch. Best