aboutsummaryrefslogtreecommitdiff
path: root/doc/database.svg
diff options
context:
space:
mode:
authorBonfaceKilz2022-03-14 17:52:55 +0300
committerBonfaceKilz2022-03-14 18:14:42 +0300
commit3491702ea309aa7cd897c07d6ce8e87eb51cbf46 (patch)
tree09389baf2ab6cb0f6da1f0dc332f2b1f74848346 /doc/database.svg
parent00ddaebee38fef8a2ff633a937cf06aab3e3db34 (diff)
downloadgenenetwork2-3491702ea309aa7cd897c07d6ce8e87eb51cbf46.tar.gz
Warn when someone uploads a csv file that has columns not in the db
* wqflask/wqflask/metadata_edits.py: Import "extract_invalid_csv_headers" and "get_allowable_sampledata_headers". (display_phenotype_metadata): Pass the allowable headers to the template. (update_phenotype): If a user uploads data with a column header that's not in the db, don't upload the file, and send a warning message. * wqflask/wqflask/templates/edit_phenotype.html: List the allowable headers in the template.
Diffstat (limited to 'doc/database.svg')
0 files changed, 0 insertions, 0 deletions