pypi sbmlsim 0.27.0

latest release: 0.27.1
one hour ago

Release notes for sbmlsim 0.27.0

sbmlsim

Every model has a web app: the factory of a project writes, next to its models, one HTML file which shows the panels of the model and simulates them in the browser of its reader on the WebAssembly engine of sbmlsim-core, and the release of the model shows it in its documentation. The app needs no server and no network and opens from disk, and the compiled models are written with the SBML, so they are always the ones of the models next to them.

Features

  • The web app of a model (#532). Project.create_models writes after the factory, into the directory it wrote the models into and also in a rebuild, every variant compiled by sbmlsim-core (wasm/<stem>/model.wasm and model.json) and <name>_app.html: the bundle of the panels of the service (panelbundle/1, without the time of its export, so the same models give the same file), every model of it compiled, the runtime and the inline JavaScript host of sbmlsim-core and the components of sbmlsim-web (vendored at a pinned version, scripts/web_assets.py), the notices of the libraries of the engine and the licenses of the components. A project switches it off with web_app=False; a model without panels and app shows the panels of Project.default_panels, by default the time courses of its species (of the variables of its rules for a model without species), which a framework overrides. docs/webapp.md documents it.
  • The app of an SBML file: python -m sbmlsim.webapp model.xml -o DIR writes the app of one model, its declared panels or the time courses of its species.
  • The app in a release (#532). The release copies the app and the compiled variants into models/, adds the page App after the home page of its site, the app in a frame and a link to the file, and links it from the README.
  • sbmlsim-core (0.4.0 or newer) is a dependency: the compiler of SBML to WebAssembly, the runtime of its engine and the inline build of its JavaScript host, imported only when the web assets are written. ModelRegistry.of_projects registers projects without their references and build_bundle(..., stamped=False) writes a bundle without the time of its export.

Don't miss a new sbmlsim release

NewReleases is sending notifications on new releases.