aboutsummaryrefslogtreecommitdiff
path: root/qc_app/upload
diff options
context:
space:
mode:
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!!!"