From 27eec3300eddbc17214b3ff3ffbd8bea867db401 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 20 Sep 2024 16:10:50 -0500 Subject: Initialise UI for managing genotype datasets. --- uploader/templates/genotypes/list-genotypes.html | 10 ++++ uploader/templates/genotypes/view-dataset.html | 61 ++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 uploader/templates/genotypes/view-dataset.html (limited to 'uploader/templates/genotypes') diff --git a/uploader/templates/genotypes/list-genotypes.html b/uploader/templates/genotypes/list-genotypes.html index 3780f85..864e1ec 100644 --- a/uploader/templates/genotypes/list-genotypes.html +++ b/uploader/templates/genotypes/list-genotypes.html @@ -129,6 +129,16 @@ create new genotype dataset

{%endif%} +
+

+ + NOTE: Currently the GN2 (and related) system(s) expect a + single genotype dataset. If there is more than one, the system apparently + fails in unpredictable ways. +

+

Fix this to allow multiple datasets, each with a different assembly from + all the rest.

+
{%endblock%} {%block sidebarcontents%} diff --git a/uploader/templates/genotypes/view-dataset.html b/uploader/templates/genotypes/view-dataset.html new file mode 100644 index 0000000..e7ceb36 --- /dev/null +++ b/uploader/templates/genotypes/view-dataset.html @@ -0,0 +1,61 @@ +{%extends "genotypes/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "populations/macro-display-population-card.html" import display_population_card%} + +{%block title%}Genotypes: View Dataset{%endblock%} + +{%block pagetitle%}Genotypes: View Dataset{%endblock%} + +{%block lvl4_breadcrumbs%} + +{%endblock%} + +{%block contents%} +{{flash_all_messages()}} + +
+

Genotype Dataset Details

+ + + + + + + + + + + + + + +
NameFull Name
{{dataset.Name}}{{dataset.FullName}}
+
+ +
+

Assembly Details

+ +

Maybe include the assembly details here if found to be necessary.

+
+ +
+

Genotype Data

+ +

+ Provide link to enable uploading of genotype data here.

+
+ +{%endblock%} + +{%block sidebarcontents%} +{{display_population_card(species, population)}} +{%endblock%} -- cgit v1.2.3