From c04b75c5904bb30bd672e295ab66bbe670520c87 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 1 Oct 2026 12:37:08 -0500 Subject: Fix type errors. --- scripts/genotypes/types.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/genotypes/types.py') diff --git a/scripts/genotypes/types.py b/scripts/genotypes/types.py index bf46606..482d8d4 100644 --- a/scripts/genotypes/types.py +++ b/scripts/genotypes/types.py @@ -29,7 +29,7 @@ class LineDetails: """Data type for processed line details""" line_content: Sequence[Union[str, None]] geno_symbols: Sequence[str] - line_header: Optional[str] = None + line_header: str @dataclass(frozen=True) @@ -52,7 +52,6 @@ class FileStats:# pylint: disable=[too-many-instance-attributes] comment_lines: int = 0 dot_geno_lines: int = 0 dot_geno_fields: Optional[DotGenoFields] = None - samples: Sequence[str] = field(default_factory=tuple) samples_list: Sequence[str] = field(default_factory=tuple) markers_list: Sequence[str] = field(default_factory=tuple) errors: Sequence[LineError] = field(default_factory=tuple) -- cgit 1.4.1