Repository navigation
0.65.1
Release notes for sbmlsim 0.65.1
A patch of 0.65.0: a derived target of a panel may now be a variable that a rate rule changes, for example the bolus of an injection derived from the body weight. The package now requires sbmlsim-core 0.63.0.
Changes
- The service refuses a derived target of a rule when it starts (#822). Before, the service checked only that a derived target was an entity of the model, and the engine refused the variable of an assignment rule or of an algebraic rule on every request of the panel. Now the service refuses it once at startup, and the message names the target, the panel, the model, the variant and the kind of rule. The service and the export use the same rule (
sbmlsim.panel_sbml.rule_variables,Project.model_rules). - Requires sbmlsim-core 0.63.0 (#821).
Bug fixes
- The export refused a derived target of a rate rule (#822). Building the static bundle of the panels, and with it the web app of a model in the factory, refused every derived target that a rule of the model sets, with "The derived target 'IVDOSE_icg' of the panel 'plasma' is set by a rule of the model, so its initial assignment is not its value.". This is right for an assignment rule and an algebraic rule, but not for a rate rule: the initial value of a rate-rule variable is the start of its integration, which the bundle sets with an initial assignment, just as the service sets it before the initialization. Both now accept such a target, e.g.
derived={"IVDOSE_icg": "0.5 * bw"}in place of a change at time 0, and the service and the recipe of the bundle give the same curves, to the bit.
Changed results
None: every panel that ran before gives the same curves, to the bit.