Skip to content

Commit e53c46a

Browse files
authored
Merge pull request #356 from jkmckenna/0.4.0
0.4.0
2 parents eb14c70 + f73b285 commit e53c46a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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.2"
3+
__version__ = "0.4.0"

src/smftools/cli/preprocess_adata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def preprocess_adata_core(
349349
calculate_coverage(
350350
adata,
351351
ref_column=cfg.reference_column,
352-
position_nan_threshold=cfg.position_max_nan_threshold,
352+
position_nan_threshold=1 - cfg.position_max_nan_threshold,
353353
smf_modality=smf_modality,
354354
target_layer=cfg.output_binary_layer_name,
355355
)
@@ -448,7 +448,7 @@ def preprocess_adata_core(
448448
calculate_coverage(
449449
adata,
450450
ref_column=cfg.reference_column,
451-
position_nan_threshold=cfg.position_max_nan_threshold,
451+
position_nan_threshold=1 - cfg.position_max_nan_threshold,
452452
smf_modality=smf_modality,
453453
target_layer=cfg.output_binary_layer_name,
454454
force_redo=True,

0 commit comments

Comments
 (0)