diff options
author | zsloan | 2022-04-29 14:24:03 +0000 |
---|---|---|
committer | zsloan | 2022-04-29 14:24:03 +0000 |
commit | d2551923a7638416ccf35d8c8df006568d03de1a (patch) | |
tree | ca540148da9f65d4af2b1ca891c9b0ae21cce70f | |
parent | 2435e2ee75175d292d17ed9ad69a11c51e2cd71d (diff) | |
download | genenetwork2-d2551923a7638416ccf35d8c8df006568d03de1a.tar.gz |
Add non-CaseAttribute allowable headers
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 3 |
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=( |