Comments (4)
pls make pull request
from cobratoolbox.
@bheavner , you seem to have a good idea on how to solve this issue. Could you please open a pull-request (PR) with the suggested changes in the code?
Guidelines on how to contribute are here.
Please let me know if you are running into any issues.
from cobratoolbox.
@laurentheirendt This issue has already been fixed by Srikiran C on 7/15/14. From src\extractSubNetwork.m:
%extractSubNetwork Extract subnetwork model
%
% subModel = extractSubNetwork(model,rxnList,metList)
%
%INPUTS
% model COBRA model structure
% rxnList Reaction list for the subnetwork to be extracted
%
%OPTIONAL INPUTS
% metNames Metabolite list for the subnetwork to be extracted
%
%OUTPUT
% subModel COBRA model of subnetwork
%
% Markus Herrgard 12/11/06
%
% Srikiran C 7/15/14
% - Replaced rxnNames with rxnList as model.rxnNames is different from
% model.rxns, and model.rxns is used to select the subnetwork.
% - Replaced metNames with metList, to avoid similar confusion.
% - Added the fields - rxnNames, rules and metCharge to subModel.
from cobratoolbox.
Thank you @stefaniamagg . Closing now.
from cobratoolbox.
Related Issues (20)
- Update numpy dependency
- remove curl dependency
- Invalid MEX-file
- 'Infeasible' results from simulatePairwiseInteractions HOT 2
- How can the result file be converted to a readable file? HOT 2
- Tutorial revision
- Error using initCobraToolbox HOT 1
- Error in findRxnsFromMet.m HOT 2
- Unrecognized function or variable 'TranslateSBML'. HOT 3
- Missing function "findTranscriptionValue"
- Missing Function "lrsInputHalfSpace"
- Gurobi error 10010: Model too large for size-limited license HOT 6
- unrecongnized field name "annotation" HOT 1
- Cobratoolbox crashes during initialisation on windows 10 (Matlab 2022b) HOT 1
- Combining metabolite lists: Error using mergeTwoModels (line 164) HOT 1
- Function out of work findRxnsFromMets.m HOT 1
- DEMETER can be used for metabolic network optimization beyond intestinal microbiota? HOT 1
- `optimizeCbModel` returning `NaN` for solution
- refactor how solver parameters are handled
- mgPipe PART2 issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobratoolbox.