Skip to content

Commit 3dacfed

Browse files
authored
Merge pull request #302 from jkmckenna/0.3.2
0.3.2
2 parents fc7fbb1 + a5cfeb5 commit 3dacfed

23 files changed

+1654
-407
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ torch = [
147147
all = [
148148
# cluster
149149
"fastcluster",
150+
"igraph"
150151
"leidenalg",
151152

152153
# informatics
@@ -172,6 +173,7 @@ all = [
172173
"omegaconf",
173174
"scikit-learn>=1.0.2",
174175
"shap",
176+
"tensorly",
175177
"torch>=1.9.0",
176178
"wandb",
177179

src/smftools/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from __future__ import annotations
22

3-
__version__ = "0.3.1"
3+
__version__ = "0.3.2"

src/smftools/cli/hmm_adata.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,9 +1068,7 @@ def hmm_adata_core(
10681068
cmap_a=cfg.clustermap_cmap_a,
10691069
min_quality=cfg.read_quality_filter_thresholds[0],
10701070
min_length=cfg.read_len_filter_thresholds[0],
1071-
min_mapped_length_to_reference_length_ratio=cfg.read_len_to_ref_ratio_filter_thresholds[
1072-
0
1073-
],
1071+
min_mapped_length_to_reference_length_ratio=cfg.read_len_to_ref_ratio_filter_thresholds[0],
10741072
min_position_valid_fraction=1 - cfg.position_max_nan_threshold,
10751073
demux_types=cfg.clustermap_demux_types_to_plot,
10761074
save_path=hmm_cluster_save_dir,
@@ -1124,9 +1122,7 @@ def hmm_adata_core(
11241122
cmap_a=cfg.clustermap_cmap_a,
11251123
min_quality=cfg.read_quality_filter_thresholds[0],
11261124
min_length=cfg.read_len_filter_thresholds[0],
1127-
min_mapped_length_to_reference_length_ratio=cfg.read_len_to_ref_ratio_filter_thresholds[
1128-
0
1129-
],
1125+
min_mapped_length_to_reference_length_ratio=cfg.read_len_to_ref_ratio_filter_thresholds[0],
11301126
min_position_valid_fraction=1 - cfg.position_max_nan_threshold,
11311127
demux_types=cfg.clustermap_demux_types_to_plot,
11321128
save_path=hmm_cluster_save_dir,

0 commit comments

Comments
 (0)