about summary refs log tree commit diff
path: root/uploader/scripts
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-11-12 20:02:56 +0000
committerFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-11-12 14:28:38 -0600
commitbffbd4d09948f5a5f0ad2f72bf5f39bcd1509f91 (patch)
treeada7931e099320ec1e31b0375b3580d4492f8aea /uploader/scripts
parentfd063534a9c26f3b34184e88cfeca1ad6fe10c7e (diff)
downloadgn-uploader-bffbd4d09948f5a5f0ad2f72bf5f39bcd1509f91.tar.gz
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 <pi@pi.dev>
Diffstat (limited to 'uploader/scripts')
-rw-r--r--uploader/scripts/genotypes/stage04.py13
1 files changed, 13 insertions, 0 deletions
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())