From 4aa6d2cba4128e75adfe9a91954aff1bd46ef7ae Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 6 Jan 2025 13:12:20 -0600 Subject: Add resumable UI elements for all file inputs. --- .../phenotypes/add-phenotypes-raw-files.html | 51 ++++++++++++++++++---- 1 file changed, 43 insertions(+), 8 deletions(-) (limited to 'uploader') diff --git a/uploader/templates/phenotypes/add-phenotypes-raw-files.html b/uploader/templates/phenotypes/add-phenotypes-raw-files.html index 8d29823..2264b59 100644 --- a/uploader/templates/phenotypes/add-phenotypes-raw-files.html +++ b/uploader/templates/phenotypes/add-phenotypes-raw-files.html @@ -128,13 +128,15 @@ "resumable-phenotype-descriptions", "phenotype descriptions", '

You can drop a CSV file that contains the phenotype descriptions here, - or you can click the "Browse" button to select it from your computer.

+ or you can click the "Browse" button (below and to the right) to select it + from your computer.

The CSV file must conform to some standards, as documented in the "Phenotypes Descriptions" documentation section below.

')}} -
+ +
Provide a file that contains only the phenotype data. See - the documentation for the expected format of the file.
+ {{display_resumable_elements( + "resumable-phenotype-data", + "phenotype data", + '

You can drop a CSV file that contains the phenotype data here, + or you can click the "Browse" button (below and to the right) to select it + from your computer.

+

The CSV file must conform to some standards, as documented in the + + "Phenotypes Data" documentation section below.

')}} + {%if population.Family in families_with_se_and_n%} -
+
+ {{display_resumable_elements( + "resumable-phenotype-se", + "standard errors", + '

You can drop a CSV file that contains the computed standard-errors data + here, or you can click the "Browse" button (below and to the right) to + select it from your computer.

+

The CSV file must conform to some standards, as documented in the + + "Phenotypes Data" documentation section below.

')}} -
+ +
+ {{display_resumable_elements( + "resumable-phenotype-n", + "number of samples/individuals", + '

You can drop a CSV file that contains the number of samples/individuals + used in computation of the standard-errors here, or you can click the + "Browse" button (below and to the right) to select it from your computer. +

+

The CSV file must conform to some standards, as documented in the + + "Phenotypes Data" documentation section below.

')}} {%endif%} {%endblock%} @@ -284,9 +319,9 @@ comma as a way to separate the "general category and ontology terms".

file: Phenotype Data, Standard Errors and/or Sample Counts

- - - + + +

The data is a matrix of phenotypes × individuals, e.g.

# num-cases: 2549 -- cgit v1.2.3