about summary refs log tree commit diff
path: root/tests/uploader/scripts
diff options
context:
space:
mode:
authorpi coding agent <pi@localhost>2026-11-04 19:59:33 +0000
committerFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-11-04 14:19:50 -0600
commit539f8baf47c428884aeb68fb5fe34830d5bf5435 (patch)
tree74108f94984289a0936ec177812509f54c63a804 /tests/uploader/scripts
parent99a27b11db3f121bfbf3dc4118a68e60f710bb98 (diff)
downloadgn-uploader-539f8baf47c428884aeb68fb5fe34830d5bf5435.tar.gz
Move genotype data types into the uploader.genotypes package
Move `uploader/scripts/genotypes/types.py` to `uploader/genotypes/types.py` so
application code can use `FileStats` and friends without importing from
`uploader.scripts`. Update the collector script and tests to the new location.
Diffstat (limited to 'tests/uploader/scripts')
-rw-r--r--tests/uploader/scripts/genotypes/test_merge_chunk_stats.py2
-rw-r--r--tests/uploader/scripts/genotypes/test_preprocess_csv_collect_info.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/uploader/scripts/genotypes/test_merge_chunk_stats.py b/tests/uploader/scripts/genotypes/test_merge_chunk_stats.py
index 8973313..75badd5 100644
--- a/tests/uploader/scripts/genotypes/test_merge_chunk_stats.py
+++ b/tests/uploader/scripts/genotypes/test_merge_chunk_stats.py
@@ -6,7 +6,7 @@ from uploader.scripts.genotypes.preprocess_csv_collect_info import (
     _merge_chunk_stats,
     _merge_all_chunk_stats)
 
-from uploader.scripts.genotypes.types import LineError
+from uploader.genotypes.types import LineError
 
 
 def _line_error(message: str) -> LineError:
diff --git a/tests/uploader/scripts/genotypes/test_preprocess_csv_collect_info.py b/tests/uploader/scripts/genotypes/test_preprocess_csv_collect_info.py
index 71e0c6c..e4381fe 100644
--- a/tests/uploader/scripts/genotypes/test_preprocess_csv_collect_info.py
+++ b/tests/uploader/scripts/genotypes/test_preprocess_csv_collect_info.py
@@ -6,7 +6,7 @@ from uploader.scripts.genotypes.preprocess_csv_collect_info import (
     _ChunkStats,
     file_stats_singlethread)
 
-from uploader.scripts.genotypes.types import DotGenoFields
+from uploader.genotypes.types import DotGenoFields
 
 
 UNTRANSPOSED_CONFIG = {