From 4606588191350e4271ab5dc0edd76c02f7757e8f Mon Sep 17 00:00:00 2001 From: Martin Larralde <martin.larralde@embl.de> Date: Fri, 14 Jun 2024 21:43:27 +0200 Subject: [PATCH] Release v0.7.2 --- CHANGELOG.md | 13 ++++++++++++- lightmotif-bench/Cargo.toml | 2 +- lightmotif-io/Cargo.toml | 4 ++-- lightmotif-py/Cargo.toml | 6 +++--- lightmotif-py/lightmotif/__init__.py | 4 ++-- lightmotif-tfmpvalue/Cargo.toml | 4 ++-- lightmotif/Cargo.toml | 2 +- 7 files changed, 23 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d0585c..e0dc8ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -[Unreleased]: https://github.com/althonos/lightmotif/compare/v0.7.1...HEAD +[Unreleased]: https://github.com/althonos/lightmotif/compare/v0.7.2...HEAD + + +## [v0.7.2] - 2024-06-14 +[v0.7.2]: https://github.com/althonos/lightmotif/compare/v0.7.1...v0.7.2 + +### Added + +#### `lightmotif-py` +- Add `__len__` implementation for all matrix clases. +- Allow changing the logarithm base in `WeightMatrix.log_odds` method. +- Implement `__getitem__` for row access for all matrix classes. ## [v0.7.1] - 2024-06-14 diff --git a/lightmotif-bench/Cargo.toml b/lightmotif-bench/Cargo.toml index 7d60f8d..38275ad 100644 --- a/lightmotif-bench/Cargo.toml +++ b/lightmotif-bench/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif-bench" -version = "0.7.1" +version = "0.7.2" edition = "2021" publish = false diff --git a/lightmotif-io/Cargo.toml b/lightmotif-io/Cargo.toml index 6fa29b9..15ab274 100644 --- a/lightmotif-io/Cargo.toml +++ b/lightmotif-io/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif-io" -version = "0.7.1" +version = "0.7.2" authors = ["Martin Larralde <martin.larralde@embl.de>"] edition = "2021" license = "MIT" @@ -19,4 +19,4 @@ memchr = "2" [dependencies.lightmotif] path = "../lightmotif" -version = "0.7.1" +version = "0.7.2" diff --git a/lightmotif-py/Cargo.toml b/lightmotif-py/Cargo.toml index e374ab1..f8fe79a 100644 --- a/lightmotif-py/Cargo.toml +++ b/lightmotif-py/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif-py" -version = "0.7.1" +version = "0.7.2" authors = ["Martin Larralde <martin.larralde@embl.de>"] edition = "2021" license = "MIT OR GPL-3.0-or-later" @@ -17,11 +17,11 @@ path = "lightmotif/lib.rs" [dependencies.lightmotif] path = "../lightmotif" -version = "0.7.1" +version = "0.7.2" [dependencies.lightmotif-tfmpvalue] optional = true path = "../lightmotif-tfmpvalue" -version = "0.7.1" +version = "0.7.2" [dependencies] pyo3 = "0.18.3" generic-array = "1.0.0" diff --git a/lightmotif-py/lightmotif/__init__.py b/lightmotif-py/lightmotif/__init__.py index 4f3baee..4c49dac 100644 --- a/lightmotif-py/lightmotif/__init__.py +++ b/lightmotif-py/lightmotif/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.7.1" +__version__ = "0.7.2" from . import lib from .lib import ( @@ -14,5 +14,5 @@ from .lib import ( ) __author__ = lib.__author__ -__license__ = "MIT" +__license__ = "MIT OR GPL-3.0-or-later" __doc__ = lib.__doc__ diff --git a/lightmotif-tfmpvalue/Cargo.toml b/lightmotif-tfmpvalue/Cargo.toml index 9458e77..40df343 100644 --- a/lightmotif-tfmpvalue/Cargo.toml +++ b/lightmotif-tfmpvalue/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif-tfmpvalue" -version = "0.7.1" +version = "0.7.2" authors = ["Martin Larralde <martin.larralde@embl.de>"] edition = "2021" license = "GPL-3.0-or-later" @@ -13,5 +13,5 @@ keywords = ["bioinformatics", "motif", "pssm", "pvalue"] [dependencies.lightmotif] path = "../lightmotif" -version = "0.7.1" +version = "0.7.2" diff --git a/lightmotif/Cargo.toml b/lightmotif/Cargo.toml index d40be83..30e11a0 100644 --- a/lightmotif/Cargo.toml +++ b/lightmotif/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif" -version = "0.7.1" +version = "0.7.2" authors = ["Martin Larralde <martin.larralde@embl.de>"] edition = "2021" license = "MIT" -- GitLab