Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/hmm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def run(self) -> None:
)
weights[-2, :] = weights[-1, :]

weights = weights / weights.sum(axis=1, keepdims=True)
weights = np.round(weights / weights.sum(axis=1, keepdims=True), 8)
weights[weights < 1 / (self.matches.size + 1)] = 0

# create sparse matrix of entire reference panel
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "selphi"
version = "1.5.2"
version = "1.5.3"
description = "Genotype imputation using PBWT and haplotype selection"
authors = ["Adriano De Marino <adriano@selfdecode.com>", "Sandra Bohn <sandra@selfdecode.com>"]
readme = "README.md"
Expand All @@ -15,5 +15,5 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.commitizen]
version = "1.5.2"
version = "1.5.3"
version_files = ["pyproject.toml:version"]