From fb9e85d123ca7d0853c4405d021e80936233fc17 Mon Sep 17 00:00:00 2001 From: pi coding agent Date: Wed, 4 Nov 2026 19:10:02 +0000 Subject: Collect comment lines into the file description Add a `description` field to `FileStats`, built by cleaning comment lines (strip the configured comment character and surrounding whitespace) and joining them with newlines. Detect comments using the configured comment character rather than a hard-coded '#', and preserve comment order when merging chunks. --- uploader/scripts/genotypes/types.py | 1 + 1 file changed, 1 insertion(+) (limited to 'uploader/scripts/genotypes/types.py') diff --git a/uploader/scripts/genotypes/types.py b/uploader/scripts/genotypes/types.py index d765fe5..4403f3d 100644 --- a/uploader/scripts/genotypes/types.py +++ b/uploader/scripts/genotypes/types.py @@ -67,3 +67,4 @@ class FileStats:# pylint: disable=[too-many-instance-attributes] samples_list: Sequence[str] = field(default_factory=tuple) markers_list: Sequence[str] = field(default_factory=tuple) errors: Sequence[LineError] = field(default_factory=tuple) + description: str = "" -- cgit 1.4.1