aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-04-29 14:24:03 +0000
committerzsloan2022-04-29 14:24:03 +0000
commitd2551923a7638416ccf35d8c8df006568d03de1a (patch)
treeca540148da9f65d4af2b1ca891c9b0ae21cce70f /wqflask
parent2435e2ee75175d292d17ed9ad69a11c51e2cd71d (diff)
downloadgenenetwork2-d2551923a7638416ccf35d8c8df006568d03de1a.tar.gz
Add non-CaseAttribute allowable headers
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/metadata_edits.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py
index 0b015b36..49b03943 100644
--- a/wqflask/wqflask/metadata_edits.py
+++ b/wqflask/wqflask/metadata_edits.py
@@ -257,7 +257,8 @@ def update_phenotype(dataset_id: str, name: str):
)
diff_data = {}
with database_connection() as conn:
- headers = get_case_attributes(conn).keys()
+ headers = ["Strain Name", "Value", "SE", "Count"] \
+ + list(get_case_attributes(conn).keys())
diff_data = remove_insignificant_edits(
diff_data=csv_diff(
base_csv=(