opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
240 stars 305 forks source link

Function out of work findRxnsFromMets.m #2248

Open fenixwang-uml opened 3 months ago

fenixwang-uml commented 3 months ago

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 rxnListfrom model.rxn I hereby confirm that I have:

(Note: You may replace [ ] with [X] to check the box)

farid-zare commented 3 months ago

Hi, This problem is resolved in the develop branch. Please use the develop branch until the next merging into the master branch. Best