gapseq icon indicating copy to clipboard operation
gapseq copied to clipboard

adapt: already growing with glucose but model.optimize() = 0

Open danfrks opened this issue 1 year ago • 0 comments

Hi,

I am still having some problems with gapseq adapt.

I generated a draft model and when I use gapseq adapt this is the output I get:

Warning in add_growth(mod.out, add.met.id = sub.id, weights = rxn.weights.file, : Model is already growing with cpd00027 D-Glucose Warning: No changes made

However, solving with biomass as the objective function in cobrapy gives 0 flux.

model.medium = {'EX_cpd00009_e0': 100.0, 'EX_cpd00027_e0': 10.0, 'EX_cpd00030_e0': 100.0, 'EX_cpd00034_e0': 100.0, 'EX_cpd00048_e0': 100.0, 'EX_cpd00149_e0': 100.0, 'EX_cpd10516_e0': 100.0, 'EX_cpd00067_e0': 100.0, 'EX_cpd00971_e0': 100.0, 'EX_cpd00013_e0': 100.0, 'EX_cpd00063_e0': 100.0, 'EX_cpd00058_e0': 100.0, 'EX_cpd10515_e0': 100.0, 'EX_cpd00205_e0': 100.0, 'EX_cpd00099_e0': 100.0, 'EX_cpd00531_e0': 100.0, 'EX_cpd00254_e0': 100.0, 'EX_cpd00001_e0': 100.0, 'EX_cpd00007_e0': 100.0}

Is this expected behaviour, since the solution is null rather than infeasible?

Many thanks in advance,

Daniel

danfrks avatar Mar 10 '23 13:03 danfrks