From bffbd4d09948f5a5f0ad2f72bf5f39bcd1509f91 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 12 Nov 2026 20:02:56 +0000 Subject: Add the Stage 03 sample-order review and hand-off Carry the file's sample list in the QC job metadata, redirect the QC success handler to a sample-order review page, and validate the submitted order as a permutation of the file's samples. On acceptance, launch the next-stage job (type genotype-stage04) with the accepted order and the preceding stage state in its metadata; re-submitting reuses an existing Stage 04 job. Add a minimal Stage 04 placeholder worker for the hand-off point. Co-authored-by: pi coding agent --- uploader/scripts/genotypes/stage04.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 uploader/scripts/genotypes/stage04.py (limited to 'uploader/scripts') diff --git a/uploader/scripts/genotypes/stage04.py b/uploader/scripts/genotypes/stage04.py new file mode 100644 index 0000000..f6e67d9 --- /dev/null +++ b/uploader/scripts/genotypes/stage04.py @@ -0,0 +1,13 @@ +"""Placeholder for Stage 04 (R/qtl2 bundle conversion).""" +import sys +import json + + +def main(): + """Placeholder entry point.""" + print(json.dumps({"status": "stage04-not-implemented"})) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) -- cgit 1.4.1