diff options
| author | pi coding agent <pi@localhost> | 2026-11-04 17:53:46 +0000 |
|---|---|---|
| committer | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-11-04 12:27:18 -0600 |
| commit | 27dcfcdb7a588c44c7a267584628b2ddf719da21 (patch) | |
| tree | c778fa63c770a17632daf80041ca2e1c15051338 /uploader/scripts/cli_parser.py | |
| parent | cd504858c3e142c2cbe00c041efce6b6bf8485bf (diff) | |
| download | gn-uploader-27dcfcdb7a588c44c7a267584628b2ddf719da21.tar.gz | |
Schedule the genotype statistics collector as a background job
Add `collector_config.command` to build the collector CLI command from the collector config. Replace the `_collect_geno_csv_stats_` stub in `add_genotype_records` with a `gn_libs.jobs` background job that runs the collector. The standard background-job status/summary pages surface the collector's stdout and stderr, so failures show the available diagnostics. JSON requests receive a `redirect-to` for the job status page; HTML requests are redirected there too. Set the collector job's `success_handler` and add `collect_genotype_stats_success_handler`, which currently redirects to the job summary page (dumping the job details). It will be replaced by the Stage 02 study-design/encoding flow.
Diffstat (limited to 'uploader/scripts/cli_parser.py')
0 files changed, 0 insertions, 0 deletions
