diff options
| author | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-10-01 12:37:08 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-10-01 13:02:44 -0500 |
| commit | c04b75c5904bb30bd672e295ab66bbe670520c87 (patch) | |
| tree | 743794ea970f671ed8d440a9f6d9133c45f0b2cd /scripts/genotypes/types.py | |
| parent | 27ca6bc0677cc3ccfcfe4203e07f2dd9b5ac8889 (diff) | |
| download | gn-uploader-c04b75c5904bb30bd672e295ab66bbe670520c87.tar.gz | |
Fix type errors.
Diffstat (limited to 'scripts/genotypes/types.py')
| -rw-r--r-- | scripts/genotypes/types.py | 3 |
1 files changed, 1 insertions, 2 deletions
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) |
