pypi sbmlsim 0.59.8

one hour ago

Release notes for sbmlsim 0.59.8

sbmlsim

A patch release of the fit in sbmlsim-core: a fit has no wall clock deadline, a deadline which fires names itself, a fit none of whose runs reached a finite cost fails loudly, and a count per row is warned of only where its smallest value is the weight of a mapping.

Fit

  • A fit runs on the runtime of the simulations (#780). sbmlsim built the problem of a fit without a runtime, so sbmlsim-core loaded the models of the fit into a Runtime() of its own, whose wall clock deadline is 30 s: a fit of a large model (919 states, one core) ran 23 min, its single run failed with wasm trap: interrupt and an infinite cost, and the command exited 0. Every problem of a fit, the problem of its evaluations, the problem its runs run on and the problems of its analyses (profiles, Fisher information, posterior, predictive check, metrics), is now built with the runtime of the simulations of the process, which has no deadline unless SBMLSIM_CORE_TIMEOUT_MS gives one (#581).
  • A deadline of SBMLSIM_CORE_TIMEOUT_MS which fires in a fit names the deadline, its length and what to do, as in a simulation, instead of the trap of the engine: at the start of a fit, in a call of its problem (a RuntimeError) and in the message of a failed run, and so does a point of a scan.
  • A failed fit fails loudly. OptimizationResult.failed_runs, failed and failure_message; the JSON of a result with a failed run lists the failed runs with their messages under failed_runs (a result without one writes the file of 0.59.7). run_optimization logs a warning with the count and the messages of the failed runs, and an error naming the failures for a fit none of whose runs reached a finite cost. Such a fit makes fit_cli write optimization_result.json and its TSV next to its runs instead of a report and exit with 3, and the kind fit of the run layer write its records and fail with 3, the code of a failed analysis, without the analyses, the report and the adoption; the summary of the kind counts the failed runs.
  • A count column whose rows differ is warned of only where its smallest count is the weight of a mapping (#783): with use_mapping_weights of the collection, the curve weighting MAPPING and no weight of the mapping. The warning count is not unique for dataset fired for correct data with a count per row, e.g. the flow rates of a machine perfusion, also for a mapping with an explicit weight and for a fit whose weighting does not read the weight of a mapping, and could only be silenced by a fixed count, which dropped the count of every row. The count of every row stays the count of its point in the report and the document of the problem, and every result is unchanged.

Known gap

  • A PEtab problem which sbmlsim.fit.petab_v2.core reads and evaluates in sbmlsim-core (also the PEtab test suite and the benchmark collection) still runs on a runtime of the bindings with their 30 s, since PetabProblem.from_yaml takes no runtime (sbmlsim-core#229).

Don't miss a new sbmlsim release

NewReleases is sending notifications on new releases.