File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- __version__ = "0.3.2 "
3+ __version__ = "0.4.0 "
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments