diff options
author | Frederick Muriuki Muriithi | 2024-01-16 13:00:35 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-01-16 13:00:35 +0300 |
commit | b59c2a7f30293c2e26a19745813cdedacdd8c5bc (patch) | |
tree | f50608019ea0ad9351e9cd6fc0ad2ea8ae8b8c5d /qc_app/upload | |
parent | 6222ebc5ca0fdeaac9ce7addd07ee4dd900a1afb (diff) | |
download | gn-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.py | 7 |
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!!!" |