From 4d38f39519e5d18cf107d44d74f60dbbd79e51fc Mon Sep 17 00:00:00 2001 From: ptajvar Date: Mon, 21 Oct 2024 17:23:04 +0200 Subject: [PATCH] fix: make fraction_potential_doublets non-optional --- src/pixelator/annotate/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pixelator/annotate/__init__.py b/src/pixelator/annotate/__init__.py index e9a03410..ea0bca85 100644 --- a/src/pixelator/annotate/__init__.py +++ b/src/pixelator/annotate/__init__.py @@ -376,8 +376,8 @@ class AnnotateAnndataStatistics(typing.TypedDict): min_size_threshold: Optional[int] max_size_threshold: Optional[int] doublet_size_threshold: Optional[int] - fraction_potential_doublets: Optional[float] - n_edges_to_split_potential_doublets: Optional[int] + fraction_potential_doublets: float + n_edges_to_split_potential_doublets: int def anndata_metrics(adata: AnnData) -> AnnotateAnndataStatistics: