[Bio] / RecoElemSBW / SBMLtoRecoElem.cc Repository:
ViewVC logotype

Diff of /RecoElemSBW/SBMLtoRecoElem.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Fri Apr 25 20:26:22 2003 UTC revision 1.2, Fri Apr 25 23:33:14 2003 UTC
# Line 162  Line 162 
162    
163    //id not sure what to put here    //id not sure what to put here
164    //direction is reversible  or not. false, true    //direction is reversible  or not. false, true
165    
166      Reaction::Direction reDir;
167    id=0;    id=0;
168    dir=r->reversible;    dir=r->reversible;
169      Reaction rxn( id, Reaction::forward );
170    Reaction rxn( id, (Reaction::Direction) dir );    if ( dir ) {
171        rxn.setDirection( Reaction::both );
172      }
173    
174    vector<string>& reactant = rxn.getInputMetaboliteNames();    vector<string>& reactant = rxn.getInputMetaboliteNames();
175    vector<string>& product  = rxn.getOutputMetaboliteNames();    vector<string>& product  = rxn.getOutputMetaboliteNames();

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3