From b8c96e1aad990237b3e6f3d36100b1c94849f56e Mon Sep 17 00:00:00 2001 From: Diego Javier Zea Date: Mon, 1 Jul 2024 14:24:49 +0200 Subject: [PATCH] Bump version --- NEWS.md | 13 ++++++++----- Project.toml | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/NEWS.md b/NEWS.md index 10e4ccd4..21cff3d6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,9 @@ ## MIToS.jl Release Notes -### Changes from v2.21.0 to dev +### Changes from v2.21.0 to v2.22.0 + +This versions introduces several breaking changes to improve the usability of the +`Information` module. The main changes are: * *[Breaking change]* The `Information` module deprecates the `Counts` type in favor of the new `Frequencies` type. The new type as the same signature and behavior as the old one. @@ -34,10 +37,6 @@ deprecated in favor of a method relying on the `base` keyword argument. As an example of migration, `mutual_information(p, 2)` should be replaced by `mutual_information(p, base=2)`. -* The `frequencies!`, `frequencies`, `probabilities!`, and `probabilities` functions now - accept arrays of `Residue`s of any dimension. Therefore, there is no need to use the - `vec` function to convert the arrays to vectors. - * *[Breaking change]* The `mapcolpairfreq!` and `mapseqpairfreq!` functions now uses the boolean `usediagonal` keyword argument to indicate if the function should be applied to the diagonal elements of the matrix (the default is `true`). Before, this was done passing @@ -57,6 +56,10 @@ `AbstractArray{Residue}` as input, e.g. an MSA. Those methods use the `mapfreq` function under the hood to ease the calculation of the information measures on MSAs. +* The `frequencies!`, `frequencies`, `probabilities!`, and `probabilities` functions now + accept arrays of `Residue`s of any dimension. Therefore, there is no need to use the + `vec` function to convert the arrays to vectors. + * The `MSA` module now exports the `WeightType` union type to represent `weights`. ### Changes from v2.20.0 to v2.21.0 diff --git a/Project.toml b/Project.toml index 4b177772..ac857bbe 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "MIToS" uuid = "51bafb47-8a16-5ded-8b04-24ef4eede0b5" -version = "2.21.0" +version = "2.22.0" [deps] ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"