Skip to content

0.59.2

Choose a tag to compare

@github-actions github-actions released this 30 Nov 13:04
· 5 commits to develop since this release
0aee854

Release notes for sbmlsim 0.59.2

sbmlsim

A patch release of the HTML reports, whose pages carried every figure twice and with every digit, and the move to the renderer of sbmlsim-core 0.50.0.

Fixes

  • The page of a report carries the spec of a figure compact, with the digits it shows. The HTML report of an experiment and of a fit carries the spec of each figure as compact JSON whose numbers of the lines have six significant digits of the smaller of a value and its axis span, which moves no point by more than 5e-6 of its axis; the numbers which set the axes, the curves with error bars and every number whose read-out would change keep all their digits, so the figures and the values read out under the pointer are the ones of the files. The page shows the SVG file beside it instead of an inline copy, which the script of the figures replaces once it has drawn the spec. The dose dependency of the HCTZ model over 100 draws went from 52.8 MB to 12.6 MB. The JSON files beside the images are unchanged.
  • inline_svg of sbmlsim.report.figures is removed, and inline_figure returns spec_text, width and height instead of the SVG.
  • A worker of a pool draws the PNG of a figure on one thread. The renderer of sbmlsim-core 0.50.0 draws a PNG on every CPU of the process; a worker of a pool of sbmlsim, e.g. of a run of experiments, sets SBMLSIM_CORE_PNG_THREADS to 1, so the workers of a pool do not each start every CPU. A serial run draws on every CPU.

Figures

The renderer of sbmlsim-core 0.50.0 changes the figures of sbmlsim:

  • a log axis ticks at round values with plain labels (1, 10, 100, and 1, 2 and 5 of a decade on a short axis), a label carrying its power of ten only from 1e5 on or below 1e-3;
  • a legend at best goes to the first location where it covers no data, no point, line, error bar or interior of a band, and right of its plot (of its row) where every location covers data, so no legend hides data;
  • a PNG is drawn and encoded on threads, with the pixels of before.

The outputs of the documentation are written with it, and the page on plotting describes the legends and log axes.

Dependencies

  • sbmlsim-core>=0.50.0: the log axes at round values, the legends over no data and the PNG on threads.