From d2551923a7638416ccf35d8c8df006568d03de1a Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 29 Apr 2022 14:24:03 +0000 Subject: Add non-CaseAttribute allowable headers --- wqflask/wqflask/metadata_edits.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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=( -- cgit v1.2.3