Skip to content

Commit

Permalink
🚀🩹 v0.4.2 release preparation and bugfix backport for result consiste…
Browse files Browse the repository at this point in the history
…ncy checking purposes (#935)

* 🩹🚧 Backport of bugfix

Backport of bugfix #927 discovered in PR #860

It was [found](#860 (comment)) in #860 that the a_matrix when calculated for result saving was calculated without normalized initial_concentrations while the calculation for the optimization was (correctly) using the normalized version. Fixing this bug in #927 then breaks result consistency checking for some case studies, thus requiring backporting of this bugfix to the 0.4 maintenance branch which we continue to use for result/consistency checking.

* 🚀🚧 v0.4.2 Maintenance release

- 🩹🚧 Backport of bugfix #927 discovered in PR #860 related to initial_concentration normalization when saving results (#935).

* 🚇🚧 Updated 'gold standard' result comparison reference

Updated pyglotaran-examples result-comparison branch for pyglotaran v0.4.2

Note: comments in PR #936 provide explanation for a small test deviation in the results comparison check for this PR.
  • Loading branch information
jsnel authored Dec 12, 2021
1 parent 21ba272 commit d2bff46
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.4.2 (2021-12-12)

### 🩹 Bug fixes

- 🩹🚧 Backport of bugfix #927 discovered in PR #860 related to initial_concentration normalization when saving results (#935).

### 🚧 Maintenance

- 🚇🚧 Updated 'gold standard' result comparison reference ([old](https://github.com/glotaran/pyglotaran-examples/commit/9b8591c668ad7383a908b853339966d5a5f7fe43) -> [new](https://github.com/glotaran/pyglotaran-examples/commit/fc5a5ca0c7fd8b224c85027b510a15717c696c7b))

## 0.4.1 (2021-09-07)

### ✨ Features
Expand Down
2 changes: 1 addition & 1 deletion glotaran/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

load_plugins()

__version__ = "0.4.1"
__version__ = "0.4.2"


def __getattr__(attribute_name: str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def retrieve_decay_associated_data(model, dataset, dataset_descriptor, name):

matrix = k_matrix.full(compartments)
matrix_reduced = k_matrix.reduced(compartments)
a_matrix = k_matrix.a_matrix(dataset_descriptor.initial_concentration)
a_matrix = k_matrix.a_matrix(dataset_descriptor.initial_concentration.normalized())
rates = k_matrix.rates(dataset_descriptor.initial_concentration)
lifetimes = 1 / rates

Expand Down

0 comments on commit d2bff46

Please sign in to comment.