Closed carrascomj closed 4 years ago
This notebook shows that sympy obtains the same results by default as in the Figure 1 of Gevorgyan et al., 2008.
Merging #688 into develop will decrease coverage by
0.09%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## develop #688 +/- ##
===========================================
- Coverage 83.05% 82.96% -0.10%
===========================================
Files 49 49
Lines 2650 2653 +3
Branches 433 435 +2
===========================================
Hits 2201 2201
- Misses 357 360 +3
Partials 92 92
Impacted Files | Coverage Δ | |
---|---|---|
src/memote/support/consistency.py | 96.92% <100.00%> (+0.03%) |
:arrow_up: |
src/memote/support/consistency_helpers.py | 100.00% <100.00%> (ø) |
|
src/memote/support/matrix.py | 100.00% <100.00%> (ø) |
|
src/memote/suite/cli/reports.py | 75.55% <0.00%> (-2.23%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ba30160...87f567b. Read the comment docs.
@carrascomj @Midnighter did you observe any effects on performance from these changes? I just upgraded my memote from 0.10.2 to 0.11.0 and now it seems to get permanently stuck in test_stoichiometric_consistency
when running the test suite on yeastGEM:
memote report snapshot yeastGEM.xml --solver-timeout 30
@BenjaSanchez Yes, test_stoichiometric_consistency
now runs a MILP problem for every unconserved metabolite, so it could be considerably slower for big reconstructions. The solver-timeout
parameter is applied to every MILP problem (so it should finish); I'll check if the solver configuration is being correctly propagated for that case.
@carrascomj @Midnighter I did some more testing, and after installing symengine
, test_stoichiometric_consistency
takes ~45 seconds (without it it's over an hour), making the whole test suite in yeast-GEM take ~12 minutes. So feel free to disregard my comment :) but maybe symengine could be a recommended dependency of memote? It's seems to significantly help with several tests.
EDIT: The test does however error now, so maybe this is still something that could be worked on.