Skip to content

0.60.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 08:31
· 2 commits to develop since this release
273bc92

Release notes for sbmlsim 0.60.0

sbmlsim

The app of a model draws map panels, regions of knobs and live figures of its experiments, a fold of the engine core resumes exactly, and a fit weights every data point with the count of its own row.

Changes

  • Map panels, regions of knobs and live figures (#787, #788). sbmlsim.panel declares MapPanel (mappanel/1) of a MapGeometry with MapReadouts and a ColorScaleSpec, LiveFigure (livefigure/1) of LiveBindings, ExperimentFigure (the reference of a model to a figure of an experiment), PanelSimulation.start and changes, and AppFigure.knobs and values (regions of knobs on the drawing of a model). sbmlsim.live.live_figures(experiment, knobs=...) derives the live figures from the figures of an experiment, element for element as the static spec. The annotation holds <map> and <figure> next to <panel>, Project.maps and Project.live_figures override it, the service answers /api/models/{model}/maps/{map} and /figures/{figure} (with simulate), and the bundle panelbundle/1 carries maps and figures with the recipe of every run. examples/panels/lobule.py is the demo.
  • The browser app draws them (#788). sbmlsim-web 0.8.0 is vendored (<sbmlsim-map-panel>, <sbmlsim-live-figure>, regions of knobs) and the renderer plot.wasm of sbmlsim-core is embedded in the page only for an app with maps or live figures, so the page of an app of panels alone is unchanged. Every run of a bundle carries x_factor, the factor from the time unit of the model to the unit of x, which a reader multiplies the times of the steps of the integrator by.
  • Per-row count weights. A fit mapping whose count column differs per row weights every data point with the count of its own row (FitSettings.count_weighting, row by default), instead of weighting the whole curve with its smallest count. A data point that is the mean of n subjects has variance sigma^2 / n, so n is its weight. The fit document carries the count of each row in the point weights (weights.points), the report names the rule, and the PEtab extension 0.7.0 carries the setting and the count of every measurement of such a mapping.
  • The citation of a model without a DOI. ReleaseSettings(doi=None), now the default, or an empty text gives a citation ending with Zenodo., with no DOI badge in its README and docs; App.doi takes None. A release still requires the DOI. The citation keeps every initial of a hyphenated given name, Tautenhahn, H.-M. (#785).
  • Requires sbmlsim-core 0.54.0.

Bug fixes

  • A chained fold resumes from the end state (#782). A fold of two or more formulas on the engine core (Simulator.simulate, e.g. a relative dose PODOSE + d at several changes) resumes each segment from the state at the end of the one before, with the root guard carried over, and is bitwise equal to the request from the start. A fold of two or more formulas on a model with a concentration species that is the target of a rate rule now equals the from-start result; it differed by up to 9e-6 relative before.

Changed results

  • Fits with per-row counts. Under the curve weighting MAPPING the cost and the fitted parameters of a fit with such a mapping change; across the 69 adopted fits of pkdb_models, 16 fits have such mappings and their training cost at the adopted parameters changes by between 0 and +6.5 %. A count that is the same in every row gives bitwise the results of 0.59. A row of such a mapping without a positive count raises when a least squares problem is initialized; fits of the likelihood or the posterior are unchanged. count_weighting="smallest" is the rule of 0.59, which the stored settings of every earlier fit are read with, so their reports, profiles and assessments are unchanged; it still warns. A resumed fit runs its missing repeats with the rule of its stored repeats.
  • Folds of concentration rate-rule species move to the exact from-start result, see the bug fix above.