Skip to content

Commit

Permalink
Release v0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jul 19, 2021
1 parent a15edb2 commit 44d031f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.


## [Unreleased]
[Unreleased]: https://github.com/althonos/pyhmmer/compare/v0.4.4...HEAD
[Unreleased]: https://github.com/althonos/pyhmmer/compare/v0.4.5...HEAD


## [v0.4.5] - 2021-07-19
[v0.4.4]: https://github.com/althonos/pyhmmer/compare/v0.4.4...v0.4.5

### Added
- `OptimizedProfile.convert` method to configure an optimized profile from a `Profile` without reallocating a new `P7_OPROFILE` struct.

### Changed
- Rewrite the `plan7.Pipeline` search loop to avoid reacquiring the GIL between reference sequences.
- Require the reference sequences to be stored in a collection (instead of an iterable) when passing them to the `search_hmm`, `search_msa` and `search_seq` methods of `plan7.Pipeline`.
- Avoid reallocating a new `OptimizedProfile` every time a new HMM is passed to `Pipeline.search_hmm`.
- Relax the GIL while sorting and thresholding `TopHits` in `Pipeline` search methods.


## [v0.4.4] - 2021-07-07
[v0.4.3]: https://github.com/althonos/pyhmmer/compare/v0.4.3...v0.4.4
[v0.4.4]: https://github.com/althonos/pyhmmer/compare/v0.4.3...v0.4.4

### Added
- `ignore_gaps` parameter to `pyhmmer.plan7.SequenceFile`, allowing to skip the gap characters when reading a sequence from an ungapped format.
Expand Down
9 changes: 2 additions & 7 deletions pyhmmer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

__author__ = "Martin Larralde <martin.larralde@embl.de>"
__license__ = "MIT"
__version__ = "0.4.4"
__version__ = "0.4.5"
__all__ = [
errors.__name__,
easel.__name__,
Expand All @@ -44,12 +44,7 @@
An online rendered version of the documentation for this version of the
library on `Read The Docs <https://pyhmmer.readthedocs.io/en/v{}/>`_.
""".format(
# in the even the library is a CI build installed from GitLab, we
# just redirect to the stable version instead, i.e. not including
# the local component of the version (everything after the ``+``)
__version__.split("+")[0]
)
""".format(__version__)

# Register collections using the `collections.abc` module (this is probably
# not required with later versions of Python)
Expand Down

0 comments on commit 44d031f

Please sign in to comment.