aboutsummaryrefslogtreecommitdiff
path: root/qc_app/upload
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-16 13:00:35 +0300
committerFrederick Muriuki Muriithi2024-01-16 13:00:35 +0300
commitb59c2a7f30293c2e26a19745813cdedacdd8c5bc (patch)
treef50608019ea0ad9351e9cd6fc0ad2ea8ae8b8c5d /qc_app/upload
parent6222ebc5ca0fdeaac9ce7addd07ee4dd900a1afb (diff)
downloadgn-uploader-b59c2a7f30293c2e26a19745813cdedacdd8c5bc.tar.gz
UI: Create UI for creating a new Genotype dataset.
Diffstat (limited to 'qc_app/upload')
-rw-r--r--qc_app/upload/rqtl2.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/qc_app/upload/rqtl2.py b/qc_app/upload/rqtl2.py
index e020d5a..f9185b1 100644
--- a/qc_app/upload/rqtl2.py
+++ b/qc_app/upload/rqtl2.py
@@ -227,3 +227,10 @@ def select_dataset_info(species_id: int, population_id: int):
def select_geno_dataset(species_id: int, population_id: int) -> Response:
"""Select from existing geno datasets."""
return "IMPLEMENT THIS!!!"
+
+@rqtl2.route(("/upload/species/<int:species_id>/population/<int:population_id>"
+ "/rqtl2-bundle/create-geno-dataset"),
+ methods=["POST"])
+def create_geno_dataset(species_id: int, population_id: int) -> Response:
+ """Create a new geno dataset."""
+ return "IMPLEMENT THIS!!!"