Skip to content

Commit

Permalink
fix: typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ptajvar committed Oct 22, 2024
1 parent fb156c9 commit 7042c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pixelator/report/models/annotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 7042c1f

Please sign in to comment.