DD-DeCaF / simulations

Model service which takes care of adjusting model according to incoming messages and returns information such as fluxes, theoretical maximum yields, etc
Apache License 2.0
0 stars 1 forks source link

Handle infeasability #140

Closed kvikshaug closed 5 years ago

kvikshaug commented 5 years ago

Adds a new status field to the return value of the simulation service which will have the value infeasible or optimal, and only in the latter case are growth and fluxes included.

Thoughts:

codecov-io commented 5 years ago

Codecov Report

Merging #140 into devel will increase coverage by 0.6%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##            devel     #140     +/-   ##
=========================================
+ Coverage   71.89%   72.49%   +0.6%     
=========================================
  Files          20       20             
  Lines         804      807      +3     
=========================================
+ Hits          578      585      +7     
+ Misses        226      222      -4
Impacted Files Coverage Δ
src/simulations/resources.py 84.21% <100%> (+0.87%) :arrow_up:
src/simulations/modeling/simulations.py 94.44% <100%> (+10.66%) :arrow_up:

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 dc6d3fb...d8bc4d5. Read the comment docs.