From 0e678c64d26454be1273106f1e2d29a08f939c47 Mon Sep 17 00:00:00 2001 From: Remis Date: Thu, 12 Nov 2026 21:23:29 +0000 Subject: [PATCH] Release 1.3.0 Eight pull requests since 1.2.0. A minor release: new API and new behaviour on bad input, but no change to any value SCALCS computes from a valid mechanism. #26/#27 Mechanism can be indexed by state name (state_names, state_index, rates_by_edge, rate, permutation) and reports whether its rates satisfy microscopic reversibility (cycle_ratios, reversibility_error). transition_probability and transition_frequency, defined three times between scalcslib and scsim, now live once in qmatlib; transition_frequency takes the occupancies as an optional argument, and an integer Q is no longer divided integer-wise. #28 Mechanism.layout keeps the drawing a .mec file stores. #29 scalcs.schemes draws a mechanism as a reaction scheme in the style of Colquhoun & Lape (2012). New extra: scalcs[plot] (matplotlib); the gui extra now declares matplotlib, which it already used. #30 .mec state names padded with NULs or left blank. #31 Authors: Remigijus Lape, remis.lp@gmail.com. #32 scalcs is a regular package; scalcs.__version__ exists. #33 Every way the .mec reader failed - a file that is not a .mec file, an index pointing at no record (which hung), self-contradictory records, unnamed states - now loads or raises ValueError naming the file, record and problem. Records that loaded before load identically. The unused hand-over to dcio.formats.mec is removed. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 2 +- scalcs/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3deaea7..0b77975 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "scalcs" -version = "1.2.0" +version = "1.3.0" description = "Pure-Python Q-matrix formalism for ion channel kinetics" authors = [ { name = "Remigijus Lape", email = "remis.lp@gmail.com" }, diff --git a/scalcs/version.py b/scalcs/version.py index bd00743..b636514 100644 --- a/scalcs/version.py +++ b/scalcs/version.py @@ -1,3 +1,3 @@ -__version__ = "1.2.0" +__version__ = "1.3.0" version = __version__ # backward-compat alias full_version = __version__ # backward-compat alias