Skip to content

Commit f73b285

Browse files
committed
Update preprocess_adata.py
1 parent 2a59dd3 commit f73b285

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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=1-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=1-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)