Closed bauglir closed 1 year ago
Merging #100 (3ecae1c) into master (a879de9) will increase coverage by
0.04%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #100 +/- ##
==========================================
+ Coverage 83.66% 83.70% +0.04%
==========================================
Files 6 6
Lines 355 356 +1
==========================================
+ Hits 297 298 +1
Misses 58 58
Impacted Files | Coverage Δ | |
---|---|---|
src/components.jl | 93.33% <100.00%> (+0.04%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
awesome, thanks joris
CellML files contain
initial_value
fields specifying initial values for parameters and states in the system. Retrieving these for theODESystem
was already possible, but had to be done separately or as part of theODEProblem
constructor defined forCellModel
s. This change makes sure they're added asdefaults
of theODESystem
instead simplifying code that's consuming theseODESystem
s.Defaults are only set for simplified
ODESystem
s. UnsimplifiedODESystem
s may contain parameters and states for which no defaults are available resulting in errors trying to construct theODESystem
. These errors will still occur when using the result of callingprocess_components
withsimplify = false
, but as noted in the code that should only be done for debugging purposes and this functionality is not exposed at the higher API levels.Fixes #56.