about summary refs log tree commit diff
path: root/scripts/cli
diff options
context:
space:
mode:
authorpi coding agent <pi@localhost>2026-11-04 17:10:59 +0000
committerFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-11-04 11:31:55 -0600
commit9cdd3edc1fe41e32bbdf687d761d31a703757d2d (patch)
tree7a785577cd960a38dcf2b4c7e5e95de2108dc306 /scripts/cli
parent6112e00f3b7de903426d38ea2af36ac5270ba67f (diff)
downloadgn-uploader-9cdd3edc1fe41e32bbdf687d761d31a703757d2d.tar.gz
Build the collector config from the upload form
Add `uploader.genotypes.collector_config.from_form` to map the upload form's
metadata fields to the statistics collector's config keys (`markers`,
`chromosome`, `cm`, `mb`, `transposed`, `separator`, `comment.char`,
`na_strings`), falling back to the collector's defaults and normalising the
missing-value strings.

Use it in `add_genotype_records` instead of the previous `sep`/`na.strings`
stub metadata.
Diffstat (limited to 'scripts/cli')
0 files changed, 0 insertions, 0 deletions