diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/WIP/geno-uploads-implementation-notes.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/WIP/geno-uploads-implementation-notes.md b/docs/WIP/geno-uploads-implementation-notes.md index 89bda61..1b9c1bd 100644 --- a/docs/WIP/geno-uploads-implementation-notes.md +++ b/docs/WIP/geno-uploads-implementation-notes.md @@ -182,10 +182,22 @@ collector job, runs the checks and exits non-zero on errors. On Stage 02 save, the QC job is scheduled and its id recorded in the collector job metadata (`stage03_job_id`) so re-submitting does not schedule it again. +The collector exits with `SysExit.GENERALERROR` when `FileStats.errors` is +non-empty, so malformed files stop the chain before Stage 02. + `uploader.genotypes.qc.sort_markers` is a placeholder ordering helper (chromosome, cM, Mb) that emits a warning until the appropriate ordering is established. +### Pending: normalisation, comment scoping and error handlers + +- Stage 03 will untranspose transposed files first, producing a canonical + `work_file` for QC and later stages. +- The collector will only feed comments before the data matrix into + `description`. +- Each stage will register an `error_handler` (FileStats errors shown like the + phenotypes job status page; other failures reported with recovery guidance). + ## Relationship to the background-jobs system The current job model is effectively "one script == one job". The genotype |
