GeomScale / dingo

A python library for metabolic networks sampling and analysis
GNU Lesser General Public License v3.0
42 stars 27 forks source link

Modify model's medium #74

Closed TolisChal closed 5 months ago

TolisChal commented 10 months ago

Modify both MetabolicNetwork and PolytopeSampler classes to change the bounds of the medium reactions

hariszaf commented 10 months ago

use a dictionary as in cobra

 'EX_glc__D_e': 10.0,
 'EX_h_e': 1000.0,
 'EX_h2o_e': 1000.0,
 'EX_nh4_e': 1000.0,
 'EX_o2_e': 1000.0,
 'EX_pi_e': 1000.0}

and an internal one with the reactions' indexes