From 7042c1fe37ee9b43cd01c90d78dca3a763f6afca Mon Sep 17 00:00:00 2001 From: ptajvar Date: Tue, 22 Oct 2024 14:03:51 +0200 Subject: [PATCH] fix: typecheck --- src/pixelator/report/models/annotate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pixelator/report/models/annotate.py b/src/pixelator/report/models/annotate.py index 9af64129..94184808 100644 --- a/src/pixelator/report/models/annotate.py +++ b/src/pixelator/report/models/annotate.py @@ -25,14 +25,14 @@ class AnnotateSampleReport(SampleReport): description="The fraction of pixels (A and B pixels) in the largest component.", ) - fraction_potential_doublets: float = pydantic.Field( + fraction_potential_doublets: float | None = pydantic.Field( description=( "The fraction of components that appear to consist of multiple " "parts by the community detection algorithm." ), ) - n_edges_to_split_potential_doublets: int = pydantic.Field( + n_edges_to_split_potential_doublets: int | None = pydantic.Field( description=( "The total number of edges that need to be removed to split the " "potential doublets into their sub-communities."