Release notes for sbmlsim 0.60.1
A patch of 0.60.0: a knob of a panel may declare a temperature in °C, which sbmlsim converts into the temperature the model means, and the app of a model vendors sbmlsim-web 0.8.1, whose run lines drop their separators at a break and whose focus outline of an organ is tight again.
Changes
- Knobs of a temperature in a unit with an offset (#792, #793). A knob may declare
°C(or°F, any unit with an offset) for its display and its input, and sbmlsim converts its value into the unit of its target,value * factor + offset(sbmlsim.serve.runner.knob_conversion). SBML has no unit with an offset, so a model holds a temperature either absolute, in kelvin, where 37 °C is 310.15, or as the number of its degrees on a scale in a step of that scale, a unit definition of the kind kelvin whose id names the scale:delta_degCas pint names the step, ordegCitself. There 37 °C is 37 (and 98.6 °F is 37), e.g. the temperatureTof the machine perfusion models of pkpdsim, whose formulas compute the absolute temperature asT + 273.15. The service sets such a knob as that number, and the recipe of every knob of the static bundle carriesoffsetnext tofactor(0 but for such a knob,nullwithout a target), which the browser applies (sbmlsim-core 0.54.1). A pairing whose meaning is ambiguous is refused when the service starts, naming the panel, the model and the variant: a unit id of a scale whose definition is no step of it (adegFdefined as a kelvin), a knob inKof a target which holds a reading (a kelvin of pint is a temperature and a step alike), a target which is no temperature and the dose of a dosing protocol in a unit with an offset.UnitsInformation.declaredkeeps the unit id a parameter or a compartment declares. - sbmlsim-web 0.8.1 is vendored. A separator of a line of parts vanishes where the line wraps (the run line of a card,
sbmlsim-core 0.54.0/· run 4f882df5 · 1 sin a half-width organ card of 0.8.0), and the focus outline and the click box of an organ of a drawing are the box of its label and icon again (sbmlsim-web#55, #56). - Requires sbmlsim-core 0.54.1.
Bug fixes
- A knob in °C set the kelvin of its reading (#792). The service converted a knob in °C as a quantity into the unit of its target, so 37 °C on a temperature held as its degrees Celsius in a kelvin step set 310.15 and the model computed an absolute temperature of 583.3 K, silently; the static bundle refused the knob. Both now set 37.
Changed results
None: a knob without an offset sets its target as before, to the bit.