From b59c2a7f30293c2e26a19745813cdedacdd8c5bc Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 16 Jan 2024 13:00:35 +0300 Subject: UI: Create UI for creating a new Genotype dataset. --- qc_app/upload/rqtl2.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'qc_app/upload') 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//population/" + "/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!!!" -- cgit v1.2.3