Skip to content

Commit

Permalink
feat: include n_loci in MI report & bump version to 0.3.0.rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jul 21, 2022
1 parent e32fb38 commit 107a2ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="strkit",
version="0.3.0.rc1",
version="0.3.0.rc2",

python_requires="~=3.7",
install_requires=[
Expand Down
1 change: 1 addition & 0 deletions strkit/mi/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ def write_report_json(self, json_path: str, bin_width: int = 10):
"mi": self.mi_value,
"mi_95": self.mi_value_95_ci,
"mi_99": self.mi_value_99_ci,
"n_loci": sum((len(lr) for lr in self.contig_results)),
"non_matching": [dict(nm) for nm in self._non_matching],
"hist": hist,
}
Expand Down

0 comments on commit 107a2ea

Please sign in to comment.