Repository navigation
0.59.1
Release notes for sbmlsim 0.59.1
A patch release of the fits of 0.59.0, whose evaluations moved into sbmlsim-core (#748), fixed in #754: the fits of pkdb_models which ran with 0.58.0 run again, with the costs of 0.58.0.
Fixes
- A unit of pint which a model defines again is no unit of the host. A model which defines a unit pint already has, e.g.
mmHgas133.32239 N/m^2, was recorded as a unit the host defines and sent to sbmlsim-core with the expression of the model, while sbmlsim converted with pint'smmHg; sbmlsim-core refused its builtin unit redefined 2e-8 off. Only the units the host defines itself are sent now, in every request which names units (scan/1,references/1,design/1,fitproblem/1and the distributions), so a fit and a scan with an observable in such a unit run again. - Two units are the same unit within a relative tolerance.
UnitsInformationanddefine_unitcompare the factor of a unit with the one of a unit of the same name relative to it, within 1e-5 and with no absolute tolerance, so two different units of a small factor (below 1e-8 of the base unit, which the absolute tolerance ofnumpy.isclosetook as equal) are no longer one unit.define_unitaccepts a redefinition within 1e-5 relative, which it refused above 1e-12 before. - Normalized residuals of data of a negative mean. The fit of normalized residuals of data of a negative mean, e.g. a change from a baseline, was refused by sbmlsim-core 0.49.0. Its residuals, weighted residuals, jacobian and IWRES are those of 0.58.0 again, by sign and value, with sbmlsim-core 0.49.1.
- A fit whose start values do not integrate. A fit of a condition which does not integrate at the start values of its parameters was refused as a whole; the start is now a failed evaluation and the runs of the fit go on from their own start values, as in 0.58.0, with sbmlsim-core 0.49.1.
- A dimensionless unit with a factor.
Unitswrote a dimensionless unit with a factor, e.g. the degree as0.0174532925199433radians, as(0.0174532925199433*), which pint does not read, so a model of such a unit failed to load in an experiment and in the web app. It is written(0.0174532925199433*dimensionless)now. - The record of the units of the models. Five entries of the frozen record
tests/data/model_units/units_rules.json(R43, R106, R107, R124 and R125) pinned the unreadable texts(f*)and are corrected to(f*dimensionless); nothing else of it is recorded again.
Dependencies
sbmlsim-core>=0.49.1: the normalized residuals of data of a negative mean, a condition which does not integrate at the start of a fit and the scaled dimensionless units of a description.